C# 4.0 New feature - Named Parameter (jalpesh.blogspot.com)
submitted by
jalpesh(60) 2 months, 26 days ago
C# 4.0 has one new cool features which is the named parameter. Suppose you have so many parameter in function and when you call them its hard to remember the sequence of the code now with the named parameter you can have name of the parameter with value like Parameter:value and one another cool feature of the name parameter is the you don't need to pass the parameter in exact sequence. Let see the following example
|
category: ASP.NET
|
Views: 6
tags:
ASP.NET another
Everyones tags:
Your Tags: