Пример #1
0
        public static void OperatorTest_RunTest()
        {
            dynamic d = new OperatorTest();
            dynamic temp = d + 5;
            dynamic result = d + 2;

            Assert.Equal("The total is 7", (string)result);
        }
Пример #2
0
        public static void OperatorTest_RunTest()
        {
            dynamic d      = new OperatorTest();
            dynamic temp   = d + 5;
            dynamic result = d + 2;

            Assert.Equal("The total is 7", (string)result);
        }