5
shouts

Web 2.0 | Named and optional parameters in C# 4.0

posted by farooqkaiserfarooqkaiser 221 days, 4 hours, 51 minutes ago
Thursday, August 06, 2009 6:28:19 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: 10 | | source: www.fairnet.com | show counter code
tags: .net 4, C# 4.0

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

To post your comment please login or signup