Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

optional parameters

Status
Not open for further replies.

Morpheus1981

Programmer
Aug 9, 2001
105
CR
I am able to declare optional parameters in VB.Net. I would like to know how to do this in C#. Overloading is not an option.

Thanks.
 
C# does not allow optional parameters as in vb.net. You're only choice is to use overloading.
 
See thread732-563608

But like iArchitect says, your only choice is method overloading.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top