摘要:
staticvoidStringTarget(stringarg){Console.WriteLine("arginuppercaseis:{0}",arg.ToUpper());}staticvoidIntTarget(intarg){Console.WriteLine("++argis:{0}",++arg);}staticvoidGenericTarget<T>(Targ){if(argisstring){StringTarget(argasstring);}if(argisint){IntTarget((int)(argasValue 阅读全文