static void Main(string[] args)
        {
            var fizzBuzz = new FizzBuzzMain();

            var result = fizzBuzz.ExecuteFizzBuzz();

            Console.WriteLine(result);
            Console.ReadLine();
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            var    Fizz = new FizzBuzzMain();
            string num1;

            Console.WriteLine("Enter a number: ");
            num1 = Console.ReadLine();
            int parsed = Int32.Parse(num1);

            string returned = Fizz.ExecuteFizzBuzz(parsed);

            Console.WriteLine(returned);
            Console.ReadLine();
        }
Ejemplo n.º 3
0
 public void Initialize()
 {
     _classUnderTest = new FizzBuzzMain();
 }