c# .net optional argument code example
Example: optional arguments c#
public void ExampleMethod(int required,
string optionalstr = "default string",
int optionalint = 10)
public void ExampleMethod(int required,
string optionalstr = "default string",
int optionalint = 10)