C#/.NET Little Pitfalls: Default Parameters are Compile-Time Substitut(blackrabbitcoder.net)

submitted by rcashrcash(4149) 9 months, 24 days ago

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 comment |category: |Views: 30

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by vijaystvijayst(1311) 9 months, 24 days ago 0

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.

Reply

information Login or create an account to comment on this story