williamsandonz
williamsandonz

Reputation: 16420

ASP.NET Razor how to output raw string immediately next to variable

I want to do this:

Our app is called: @AppSettings.AppName

How can I put a full stop at the end of the sentence here? Do I need to encapsulate the @ output in something?

Upvotes: 0

Views: 214

Answers (1)

klouch
klouch

Reputation: 81

The easiest way is to use tags <text> </text>

Our app is called: @AppSettings.AppName<text>.</text>

Upvotes: 2

Related Questions