I want to set the text of a Label in razor code with quotation marks. I tried

@HTML.Label(""text"")

but it doesn't work. Can you tell me how?

Edit: solved with \"text\"

Related posts

Recent Viewed