static void Main(string[] args) { anything.Math m = new anything.Math(); Console.WriteLine("Running from the second application"); Console.ReadLine(); }
public static void MathOps() { Console.Write("Enter the First Number: "); var a = Console.ReadLine(); Console.Write("Enter the Second Number: "); var b = Console.ReadLine(); var num_a = Convert.ToDecimal(a); var num_b = Convert.ToDecimal(b); m.Math math = new m.Math(); Console.WriteLine("Addition " + math.Add(num_a, num_b)); Console.WriteLine($"Subtract {math.Subtract(num_a, num_b)}"); Console.WriteLine("Multiplication {0}", math.Multiply(num_a, num_b)); Console.WriteLine($"Division {math.Divide(num_a, num_b)}"); //math.Remainder }