Example #1
0
        public void generics2()
        {
            var g = new Generic <int>();

            Contract.Assert(g.test(1) != 1);

            // Func<int, int> f = g.test;
            // Contract.Assert(g.test(5) == 5);
        }
Example #2
0
        public void generics1()
        {
            var g = new Generic <int>();

            Contract.Assert(g.test(1) == 1);
        }