I have this razor syntax:
However, when I run this, only the letter 'C' appears. I have looked up escape characters and ASCII codes, and I can't seem to get it to work.
any help is appreciated. Thanks.
Razor engine ignore all chars (or string) before last ".", Then
@Html.DisplayName("TF.C"), You see "C".
@Html.DisplayName("T.FC"), You see "FC".
If you want display "T.F.C", you can use