Generate template asp.net Cs1010: newline in constant

compiler error message: CS1010: constants of line breaks
the source error:

Solutions:
Method 1: Open the corresponding template that will prompt “inconsistent line end “, select” Yes “, save → generate
Method 2: When you have written the template, press the formatting code shortcut key Ctrl+K+D

>

Read More: