static void Main(string[] args) { var fileName = args[0]; // "G:/Develop/CodeEval/src/C#Code/nFizzBuzz/forTest.txt"; string[] datas; var fizzBuzz = new FizzBuzz(); ReadFile(fileName, out datas); foreach (var newGame in datas) { Console.WriteLine(FizzBuzz.Play(newGame)); } }