3 ms·
When I have strings like this, currently I find myself doing something like var foo = "<foo>" + Environment.NewLine + " <bar>" + Environme
by LandR 5y ago
When I have strings like this, currently I find myself doing something like
var foo = "<foo>" + Environment.NewLine +
" <bar>" + Environment.NewLine +
" <quax>" + Environment.NewLine +
"</foo>";
This would fix stuff like this nicely, but it's horrible syntax I think.
- Deukhoofd 5y agoThat would also not be a compile time constant, which would probably be desired in cases like that.