摘要: Optional Parameters in C# 4.0C# 4.0 now supports using optional parameters with methods, constructors, and indexers (note: VB has supported optional parameters for awhile).Parameters are optional when a default value is specified as part of a declaration. For example, the method below takes two para 阅读全文
posted @ 2011-05-24 16:34 bobozhang 阅读(411) 评论(0) 推荐(0) 编辑