2 ms·
It says “these string literals will naturally remove the indentation specified on the last line when producing the final literal value.” Each line in the liter
by jodrellblank 5y ago
It says “these string literals will naturally remove the indentation specified on the last line when producing the final literal value.”
Each line in the literal will have leading whitespace trimmed off, up to where the closing quotes are.
(What happens if the closing quotes pass some of the text?)
- Metasyntactic 5y ago> (What happens if the closing quotes pass some of the text?) That's an error. Called out here: https://github.com/dotnet/csharplang/blob/main/proposals/raw-string-literal.md#example-4---end-delimiter-after-start-delimiter https://github.com/dotnet/csharplang/blob/main/proposals/raw...