To test the below, add a new class TestMath.cs and write the following code:
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CSharpConsole { class TestMath { static void Main() { Math m = new Math(100,50); m.Add(100, 50); m.Sub(60, 30); m.Mul(10, 20); m.Div(50, 25); Console.ReadLine(); } } }
No comments:
Post a Comment