示例#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);
        }