2
fairs
spam fair unfair

Web 2.0 | Named and optional parameters in C# 4.0

published 905 days, 10 hours, 51 minutes ago posted by farooqkaiserfarooqkaiser 908 days, 13 hours, 2 minutes ago
Thursday, August 13, 2009 4:30:26 PM GMT Monday, August 10, 2009 2:19:26 PM GMT

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...

category: ASP.NET | clicked: 0 | | source: fairnet.com | 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