예제 #1
0
        static void Main(string[] args)
        {
            SoftuniMaths math = new SoftuniMaths();

            math.PI = 3;

            SoftuniMaths.Add(5, 4);
            math.Multiply(5, 4);
        }
예제 #2
0
        static void Main(string[] args)
        {
            SoftuniMaths.Something = 55;

            SoftuniMaths maths = new SoftuniMaths();

            maths.PI = 3;
            maths.Multiply(5, 6);

            SoftuniMaths maths2 = new SoftuniMaths();

            maths.PI = 333;
            maths.Multiply(5, 6);


            SoftuniMaths.Add(5, 6);
        }