System.Linq.Dynamic.Core
System.Linq.Dynamic.Core copied to clipboard
How can we do string interpolation using $?
Seems like $ and it are equivalent, and a reserved keyword. How would we do string interpolation without having to use string.Format?
Can you provide a full example what you are trying to do?
Can you provide a full example what you are trying to do?
new ExpressionParser(null, """$"{1+1}"+string.Empty""", null, null).Parse(null);
Has a simple string interpolation but leads to the No 'it' is in scope exception.
This is not yet possible.
I'll add config setting (https://github.com/zzzprojects/System.Linq.Dynamic.Core/pull/734)