In my project some developer added method that has optional parameter in parameters list:
public static string GeneratetPopupCall(string pageName,bool withEscapeChar = false)
I know that optional parameters are part of C# 4.0. But our project is targeted to .net 3.5. (C# 3.0)
My question is:
Why it compiles if 3.5 doesn't support optional parameters? Why that is no compilation or syntax error?