Razor, the new ASP.NET MVC view engine is incredible. I like it. A LOT. Great work Microsoft! In this series of posts I’m sharing some handy tips and tricks that can enhance your experience with this new view engine. Enjoy! The Problem Razor is the place where HTML and C# live together in harmony. This is, in my opinion, one of the things that make razor the great view engine that it is. However, there’s a fly in the ointment. Assume you want to output “Good Morning!” if the hour is between 6AM and...