initialize IEnumerable c# code example Example: .net create ienumerable of strings IEnumerable<string> m_oEnum = new List<string>() { "1", "2", "3"};