private static void TestInvokingAmbMethodDependingOnClassGeneric() { var theClass = new ClassUsingGenericsInMethods <bool>(); theClass.InvokingAmbMethodDependingOnClassGeneric(true); Assert("GenericMethodT1GenericMethodT2", BaseTest.Output); }
private static void TestPassOfGenericsToGenericMethod() { var theClass = new ClassUsingGenericsInMethods <int>(); Assert(true, theClass.UseClassGenericAsMethodGeneric()); Assert(true, theClass.UseMethodGenericAsMethodGeneric(3)); }
private static void TestPassofGenericsToGenericMethodThroughLambda() { var theClass = new ClassUsingGenericsInMethods <string>(); Assert(true, theClass.UseClassGenericInLambda("correct", "incorrect")); }