Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange method call
Message
From
10/03/2014 03:11:52
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01595999
Message ID:
01596005
Views:
68
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>In the VC# article http://social.technet.microsoft.com/wiki/contents/articles/23110.overload-resolution-revisited-in-net-4-5.aspx I see the following call:
>
>
ExampleMethod(p2: "");
>
>I never saw that syntax before - can you please explain it to me?
>
>Thanks in advance.

There's not much to explain - it's a named parameter
http://msdn.microsoft.com/en-us/library/dd264739.aspx
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform