static void Main(string[] args) { var list = new List <FizBuzInputValues> { new FizBuzInputValues() { Value = 3, Word = "Fizz" }, new FizBuzInputValues() { Value = 5, Word = "Buzz" } }; var fizapp = new FizApp(); List <string> result = fizapp.GetFizzBuzz(100, list); foreach (var x in result) { Console.WriteLine(x); } Console.ReadLine(); }
public void Init() { fizApp = new FizApp(); appValues = new List <FizBuzInputValues>(); }