If you find a pattern getting too repetitive, you can use @helper instead: @helper ShowIfNotNull(string header) { @if (!string.
確定! 回上一頁