Overview of .NET 4.0 features – C# 4.0 Named and Optional Parameters(dotnetcube.com)

submitted by dncdudedncdude(1350) 2 years, 11 months ago

The concept of Optional parameters is not new and exists in other languages such as C++. Infact, the functionality is a part of the .NET framework and exists is in VB.NET. Optional parameters will be introduced in C# 4.0 and can be used to call a method without having to specify all the arguments. The intent of this feature is to assist in writing concise code and in COM interoperability.

1 comment |category: |Views: 436

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 dotnetchrisdotnetchris(157) 2 years, 11 months ago 0

It's taken far too long to have this feature added, I'm glad it will finally be apart of 4.0

Reply

information Login or create an account to comment on this story