Here: SimilarQuestion, the accepted answer is that using @ or not is based on esthetic reasons.
But in my use case there seems to be a difference:
<MudSelect T="int" Label="Add to meeting:" Variant="Variant.Outlined" @bind-Value="SelectedTaskId">
@foreach (var task in TasksNotInMeeting)
{
<MudSelectItem Value="task.Id">task.Name</MudSelectItem>
}
</MudSelect>
Using task.Name instead of @task.Name makes the output be "task.Name". The task.Id seems to work though. As I'm writing this I'm thinking it's probably because I'm on a html area, is that right?