"Error CS0103 The name '__builder' does not exist in the current context"
Here is my code that causes the error:
@code {
public void Calc()
{
for (int i = 0; i < 55; )
{
<div class="alert-info">
<h3>This is the number" @i</h3>
</div>
}
}
}

You can't render HTML in @code or @functions block. You can do this in a @{ } code bock.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With