static void Main(string[] args) { _solver = new DivideLambAnswer(); for(int i = 0; i< test_cases; i++) { Console.WriteLine("Test #{0} - Input: {1}, Answer = {2}", i + 1, tests[i], _solver.answer(tests[i])); } Console.ReadKey(); }
private void okButton_Click(object sender, EventArgs e) { result.answer(textBox1.Text); Hide(); }
static void Main(string[] args) { _solver = new DivideLambAnswer(); for (int i = 0; i < test_cases; i++) { Console.WriteLine("Test #{0} - Input: {1}, Answer = {2}", i + 1, tests[i], _solver.answer(tests[i])); } Console.ReadKey(); }