public static void Run() { if (Gen2 <string> .GetFromClassParam() != "Hello") { throw new Exception(); } if (Gen2 <string> .GetFromMethodParam() != "World") { throw new Exception(); } }
public static void Run() { if (Gen2 <string> .GetFromClassParam() != "Hello") { throw new Exception(); } if (Gen2 <string> .GetFromMethodParam() != "World") { throw new Exception(); } if (NonGeneric.Get <object>(new object[0]) != "Hi there") { throw new Exception(); } }