This proposal will extend object initializers to allow @$"hello" as a verbatim interpolated string, compared to $@"hello" (current interpolated verbatim string).
LDM history:
Would it be possible for the order of the string interpolation and string literal identifiers to not matter?
e.g.
var foo = $@"c:\foo\{someFile}";
Is fine, but
var foo = @$"c:\foo\{someFile}";
isn't...
There's probably a good reason for it that I'm missing, but would it be possible to make the order not matter?
O/T And looking at the title, I now realise $@ v @$ looks a bit like some funky owl, which I'm pleased with.
This proposal will extend object initializers to allow
@$"hello"as a verbatim interpolated string, compared to$@"hello"(current interpolated verbatim string).LDM history:
Would it be possible for the order of the string interpolation and string literal identifiers to not matter?
e.g.
var foo = $@"c:\foo\{someFile}";Is fine, but
var foo = @$"c:\foo\{someFile}";isn't...
There's probably a good reason for it that I'm missing, but would it be possible to make the order not matter?
O/T And looking at the title, I now realise$@ v @$ looks a bit like some funky owl, which I'm pleased with.