How do I avoid the colon in my shaving code?
That's my problem:
@ count@ :: @item.Title - @item.Link - @item.Price
Which causes an error after the @count variable. How can I use a colon next to my counter?
It should look like this:
1: Title - Link - Price
** UPDATE **
My code block
@{ int count = 0; foreach (var item in Model.Wishes) { count++; @ count@ :: @item.Title - @item.Link - @item.Price <br /> } }
source share