how to avoid passng values to optional arguments C# 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)