how can I concatenate c# razor with HTML string?
You can do this.
@if (value) { @("R$ "+ course.CoursePrice) } else { @("$ " + course.CoursePrice) }
Thursday, November 23, 2023
Mauricio Junior
The secret is
@("string" + c# code);