G
Guest
Dear C# Gurus
I'd like to implement a function with several optional parameters, (all of them are boolean value)
In perl, you can write the function as
$obj->Func({'OutputXML'=>'on', 'OutputSQLScript'=>'on', 'OutputToFile'=>'off'})
Is there a way to implement a fuction with parameters easy to use and maintain like that? Does C# support default parameter
Your responses are highly appreciated
C# Newbie
I'd like to implement a function with several optional parameters, (all of them are boolean value)
In perl, you can write the function as
$obj->Func({'OutputXML'=>'on', 'OutputSQLScript'=>'on', 'OutputToFile'=>'off'})
Is there a way to implement a fuction with parameters easy to use and maintain like that? Does C# support default parameter
Your responses are highly appreciated
C# Newbie