I am using Razor as a text template engine and I need to initialize a few variables at the top of my cshtml file.
@{ModelContext M = Model;}
The problem is that the above statement adds a \r\n to the output.
This behaviour applies to any type of output. I expect I need to use another Razor tag or syntax that does not become part of the output. For example @using does not produce any output.
Is there any way to have a block of code without inserting a new line to the output ?