摘要:
这章主要讨论了类型的成员——方法1.1 可选参数和命名参数private static void M(Int32 x=9,String s="A",DateTime dt=default(DateTime),Guid guid=new Guid()){Console.WriteLine("x={0},s={1},dt={2},guid={3}",x,s,dt,guid);}方法调用//1.等同于M(9,"A",default(DateTime),new Guid());//输出:x=9,s=A,dt=0001-01-01 0:00:0 阅读全文
posted @ 2013-01-21 14:30
hailiang2013
阅读(186)
评论(0)
推荐(0)

浙公网安备 33010602011771号