My methods do not accept optional parameters as arguments, and throw the above error. My research says need to have .NET 4.0+ which I do. Please help.
Reproduction (the bold does not work when '= false' is added'):
public bool myFunction( int BarsBack, bool test = false )
{
//some code
}
EDIT: Looked at HELP tab, it says
.NET/CLR Version: 2.0.50727.8669
Is it running an old version of .NET? If so, can we make it use the latest?
Comment