.NET Code Log
Tips, reminders and ideas on how to solve different code issues.
Friday, January 19, 2018
Razor - Verbatim String in Razor Example
@(SiteSettings.SettingsPage.Debug ==
true
? @
"data-debug=""true"""
: @
"data-debug=""false"""
)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment