how to make optional param in c# code example
Example 1: optional arguments c#
public void ExampleMethod(int required,
string optionalstr = "default string",
int optionalint = 10)
Example 2: how to pass an optional parameter in c# mvc asp.net
public ActionResult Index(string Country, int Regions = 2)