@{
string message="";
DayOfWeek weekday=DateTime.Now.DayOfWeek;
string day=weekday.ToString();
}
<html>
<body>
@switch(day)
{
case "Monday":
    message="今天是本周第一个工作日。";
    break;
case "Thursday":
    message="离周末只剩一天啦。";
    break;
case "Friday":
    message="明天就是周末啦!";
    break;
default:
    message="今天是" + day;
    break;
}
<p>@message</p>
</body>
</html>