src/Channels/ChannelContainer.cs
/// <summary>
/// Gets a channel from its array position.
/// </summary>
/// <param name="Pos">The position in the array to return.</param>
/// <returns>A channel.</returns>
Gets a channel from its array position.
Gets a channel from its array position .
public Channel GetChannel(int Pos)
        {
            if (Pos >= 0 && Pos < channels.Count)
                return (Channel)channels[Pos];
            throw (new ArgumentOutOfRangeException("Pos", "Out of range"));
        }
public Channel GetChannel ( int Pos ) { if ( Pos >= 0 && Pos < channels . Count ) return ( Channel ) channels [ Pos ] ; throw ( new ArgumentOutOfRangeException ( " " , " " ) ) ; }
Gets a channel from its array position.
Gets a channel from its array position .
None
Pos
int
The position in the array to return.
The position in the array to return .