an interpolated string expression in Blazor:
@($"{( cond ? "str1" : "str2" )} rest of string")
@if (cond) { @:str1 } else { @:str2 } rest of string
Are brackets necessary?
You could even add a $@".." in there for maximum confusion 😆
i think so
Обсуждают сегодня