By alashcraft
via dotnet.dzone.com
Published: Nov 04 2008 / 19:42
In the previous episode of this feature focus series we talked about optional parameters. Today we'll cover another feature introduced in C# 4.0, named parameters. One of the most applicable places for optional and named parameters is when dealing with COM interop such as interaction with the Office automation APIs, but they can also be used as a stand-alone language feature. Just like optional parameters, named parameters are a symmetric feature: you can both consume and declare them.



Add your comment