How to display a colon in this example between the output of the Label and the task.Count :
@foreach (var task in Model.TaskComplitedByUser) { @Html.Label(task.Label) @task.Count } As a result, to get for example:
<label for="">Текст</label>: 0 So tried it does not work:
@Html.Label(task.Label) @: @task.Count @Html.Label(task.Label) @:: @task.Count