Jun 5, 2003 #1 Morpheus1981 Programmer Joined Aug 9, 2001 Messages 105 Location 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.
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.
Jun 5, 2003 #2 iArchitect Programmer Joined Jan 24, 2003 Messages 4 Location US C# does not allow optional parameters as in vb.net. You're only choice is to use overloading. Upvote 0 Downvote
Jun 5, 2003 #3 chiph Programmer Joined Jun 9, 1999 Messages 9,878 Location US See thread732-563608 But like iArchitect says, your only choice is method overloading. Chip H. Upvote 0 Downvote