static void Snipeet12() { NamedIterators objIterator = new NamedIterators(); foreach (string str in objIterator.GetCarNames()) { Console.WriteLine(str); } }
static void Main(string[] args) { NamedIterators objIterator = new NamedIterators(); foreach (string str in objIterator.GetCarNames()) { Console.WriteLine(str); } }