public void CallWithStringType() { ReferencedCode.PrintMethod(typeof(string)); var code = new ReferencedCode(); code.Print <object>(typeof(string)); }
public void CallWithStringType() { ReferencedCode.PrintMethod <string>(); var code = new ReferencedCode(); code.Print <object, string>(); }
public void CallWithIntType() { ReferencedCode.PrintMethod(typeof(int)); var code = new ReferencedCode(); code.Print <object>(typeof(int)); }
public void CallWithIntType() { ReferencedCode.PrintMethod <int>(); var code = new ReferencedCode(); code.Print <object, int>(); }