static void Main(string[] args) { DataDisplayer view = new DataDisplayer(); DataAdder model = new DataAdder(); for (int j = 0; j < 30; j++) { if ((j % 3) == 0) { model.DoSomeAdding(); } view.Tick(); } Console.ReadKey(); }
public void TestData() { var myDataAdder = new DataAdder(); myDataAdder.DoSomeAdding(); }