摘要: 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 阅读全文
posted @ 2012-06-07 12:31 默蛇 阅读(279) 评论(0) 推荐(0) 编辑