public void AddChannel(string name) { var length = ChannelList.Count(); length++; Channel newChannel = new Channel(length, name); ChannelList.Add(newChannel); }