C#/.NET Little Pitfalls: Default Parameters are Compile-Time Substitut

added by rcash
7/31/2011 2:55:24 PM

168 Views

This is the fifth post pointing out the pitfalls that come with C#. Although C# is a very powerful programming language, it's easy for developers to lose sight of what's really going on behind the scenes. Some awareness concerning this can avoid these pitfalls.


1 comments

vijayst
8/1/2011 12:40:21 AM
A very good article. It explains the advantages of default parameters. And then a minor drawback of default parameters. The example helps in understanding that default parameters are resolved at compile time.