Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Optional Parameters in C# 4.0

Loading...

Sign in or sign up now!
1,718
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 29, 2009

A brief demonstration of optional parameters in C# 4.0, part of .NET 4.0 and Visual Studio 2010.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (5)

Sign In or Sign Up now to post a comment!
  • Thanx - This is awesome!

  • Congrats for the video! Very well explained!

  • @jp2tube Do I have to tell you ? Think of the dozens of method overloads which you used to do up until C# 3.0 .... You would just use the same method but just because you required a different data type .. you would rewrite the method with minor differences. It is much better to have one method handle all the overloads... Furthermore, you can call the method and put in the optional parameters by naming them IN ANY order....

    Hope this sorts out your difficulty

  • Is this really a benefit?

  • SO GOOD!! =)

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more