Contents tagged with Named arguments
-
Named and Optional arguments – ties and philosophies
Okay, my attempt at a clever title failed… Ties and Philosophers? I oughtta stick with technical writing. :)
-
Named arguments and overload resolution
Last time we talked about the basics of named arguments, optional arguments, and default values. From here on out, I’m just going to refer to the whole feature group as “named and optional arguments” – it’s just too much typing otherwise (we actually just refer to the feature as N&O internally). Let’s now dive a little deeper into how overload resolution works for the feature.
-
Named arguments, optional arguments, and default values
C# 4.0 introduces the concept of optional parameter values into the language. Now, this has been a controversial subject in the past, and we have had many requests for the feature, but have traditionally stayed away from it. So, why now?