Was going to say the same as gunr2171..
<div>
@(MyAwesomeApplication.Web.Classes.Constants.myString01)
</div>
, will write the text.
Or you can write it as:
<div>
@MyAwesomeApplication.Web.Classes.Constants.myString01
</div>
But if you want to do some string concationation, you need to use paranteses () for response write:
<div>
@(MyAwesomeApplication.Web.Classes.Constants.myString01 + " " + MyAwesomeApplication.Web.Classes.Constants.myString02)
</div>
Or with a code-block:
@{
string print = MyAwesomeApplication.Web.Classes.Constants.myString01 + " " + MyAwesomeApplication.Web.Classes.Constants.myString02
}
<div>
@print
</div>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…