3
pimps
182 days, 6 hours, 23 minutes ago
Tuesday, August 11, 2009 12:24:27 PM GMT Friday, August 07, 2009 7:56:21 PM GMT

Web 2.0 | Named and optional parameters in C# 4.0

Web 2.0 | Named and optional parameters in C# 4.0
 
www.fairnet.com -- In this article, I will explore named and optional parameters in C# 4.0 features. Named and optional parameters are really two distinct features, and allow us to either omit parameters which have a defined default value, and/or to pass parameters by name rather than position. Named parameters are passed by name instead of relying on its position in the parameter list, whereas optional parameters allow us to omit arguments to member without having to define a specific overload matching. Let’s have a look at...
farooqkaiserfarooqkaiser posted 185 days, 22 hours, 51 minutes ago     show counter code
tags: .net 4.0, c# 4.0

No comments yet, be the first one to post comment.

To post your comment please login or signup