Closed gte2723 closed 6 years ago
VSE 2013 desktop.
This doesn't even compile, let alone function. Some of the code doesn't even look like c#
"public CloudFlareClearanceException(int attempts) : this(attempts, $"Clearance failed after {attempts} attempt(s).") { }"
^ unexpected character "$"
Well, if you use a more up to date version of Visual Studio, it will compile. The $ character that causes you trouble is used for String Interpolation, a feature of C# 6.
$
VSE 2013 desktop.
This doesn't even compile, let alone function. Some of the code doesn't even look like c#
"public CloudFlareClearanceException(int attempts) : this(attempts, $"Clearance failed after {attempts} attempt(s).") { }"
^ unexpected character "$"