I have two code which are giving the same output. what would be the difference here if I use Model.ItemPrice and @Model.ItemPrice? both give same result.

@if(Model.ItemPrice == "1300")
{
   @Model.ItemPrice   
}

@if(@Model.ItemPrice == "1300")
{
 @Model.ItemPrice   
}

Related posts

Recent Viewed