I am trying to display the # symbol from a razor file but I get it rendered as the letter N.
I have tried with:
&num ,
# ,
@Html.Raw("#"),
<text>#</text> and so on.
but it always turns into the letter N. Any suggestion?
Code Example using tag suggested: It is just html markup within a .cshtml file, I have got the same rendered result for all browsers.
<section>
.....
<p>...and Microsoft SQL Server using C <text>#</text> and.</p>
..........
</section>

You can try this
<text>#</text>
If you for example use the font Rationale from Google Fonts (I think it looks close to your font), the # is this symbol:

You could simply use another font for the part where you want to display C#:
<span style="font-family:'Arial'";>C#</span>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With