private static void TestGenericProperty() { var theClass = new ClassWithGenericElements <int>(); Assert(0, theClass.Property); theClass.Property = 43; Assert(43, theClass.Property); }
private static void TestGenericVariable() { var theClass = new ClassWithGenericElements <int>(); Assert(0, theClass.Variable); theClass.Variable = 43; Assert(43, theClass.Variable); }