using System.Collections.Generic;
public static void Main()
var e = NumMethods.GetFizzBuzz(400);
public static class NumMethods
public static IEnumerable<string> GetFizzBuzz(int max)
bool isFizz = (current % 3 == 0);
bool isBuzz = (current % 5 == 0);
yield return current.ToString();