Example #1
0
 static void Main(string[] args)
 {
     for (int i = 1; i <= 100; i++)
     {
         Console.WriteLine(FizzBuzzClass.PrintNumber(i));
     }
     Console.ReadLine();
 }
Example #2
0
 static void Main(string[] args)
 {
     for (int i = 1; i < 101; i++)
     {
         string output = FizzBuzzClass.GetAnswer(i);
         Console.WriteLine(output);
     }
 }