static void Main(string[] args) { DoAnotherThing doAnotherThing = new DoAnotherThing(); DoAnotherThing.Math(5, 86); DoAnotherThing.Math(5); Console.WriteLine("------------------------"); DoAnotherThing.Math(6, 8, 9, 10, 11); //Now there will be things in values Console.ReadLine(); }
static void Main(string[] args) { //Console.WriteLine("Enter an integer"); //int input1 = Convert.ToInt32(Console.ReadLine()); //Console.WriteLine("Enter another integer"); //int input2 = Convert.ToInt32(Console.ReadLine()); DoAnotherThing doAnotherThing = new DoAnotherThing(); DoAnotherThing.Math(); Console.WriteLine(DoAnotherThing.Math()); Console.ReadLine(); }