I have something super similar to:
private void Method(string[] Parameters= {})
{
// execute code here
}
The issue I run into here is an error stating:
invalid expression term '{'
so if I remove the '= {}'
I no longer have an optional string[]
as a parameter. I need to have a string[]
as an optional parameter.
Let me know if I need to clarify anything.