2013年4月18日

ASP.NET MVC foreach with null para

foreach (var item in Model ?? Enumerable.Empty <ModelData>())
{
...
}

沒有留言:

張貼留言