You might need to cast back to a list of strings: @if (((IList<string>)ViewBag.listoflists).Contains("java") { // do html stuff }.
確定! 回上一頁