take sum of items in Foreach loop MVC

前端 未结 0 1280
迷失自我
迷失自我 2020-12-22 11:59

I have a list and I want to display Sum of one of the properties.

I tried this, but it is not adding value, but it is working as string Concat.

@foreac         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题