static void HelloWorld() { var helloCollection = new HelloCollection(); foreach (string s in helloCollection) { Console.WriteLine(s); } }
static void Main() { var helloCollection = new HelloCollection(); foreach (var s in helloCollection) { Console.WriteLine(s); } }