ASP.NET MVC 3 Razor Syntax - Casting

前端 未结 2 474
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-16 10:49

So, simple question really. :)

I had this following code with ASPX View Engine:

<%: ((City)Model.Location).Name %&g         


        
2条回答
提交回复
热议问题