Пример #1
0
        static void MyNumericExamples()
        {
            NumericTypes myTypes = new NumericTypes();

            myTypes.GetSomeType();
            int something = myTypes.ConvertFloatToInt(35.9F);

            Console.WriteLine(something);
            Console.WriteLine(myTypes.LongFormInt(5600));
            myTypes.BasicMath();

            myTypes.CheckOperators();
            myTypes.IncrementDecrement();
            Console.WriteLine(myTypes.LongFormInt(5600));
            myTypes.SpecialValues();
            myTypes.ComparisonOperators();
            myTypes.OtherOperators();
        }