Hi, here's what I mean by skipping default parameter. I have a
method with 3 parameters and the last 2 one have default value.
void method1(int Number1 , String Name1 = "Jonathan" , String Address
= "CityStreet")
{
}
When I call that method, I just have to set the address
because "Jonathan" is what I want as Name1. I want to know if it's
possible (like in VB) to set the last parameter without setting the
second one. Something like:
method1(10 , , "NouvelleAdresse")
Someone know if it's possible or not?
Any help will be appreciate
Thanks!
Yahoo! Groups Sponsor
ADVERTISEMENT
click here
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

