I fill my TempData from a FormCollection and then I try to check the value of my TempData in my view with MVC 4 but my if statement is
FormCollection
TempData
if
Before starting any block of code in MVC View always start using @{ } then write any line of code and terminate with semicolon(;)