Can string interpolation syntax be used in server method?

オフライン

Is it somehow possible to use C# string interpolation in server method?

For example:

...

var text = "the text";
var result = $"This is {text}";

...

The Innovator's default syntax checker gives an error for this code: Error Number: CS1056, Unexpected character '$'.

Can we make any change or add reference to make that syntax work?

I'm using Innovator server 11.SP12, if that helps.

Thanks,

Khanh

Parents Reply Children
No Data