ASP.NET MVC takes advantage of many advanced features of the C# and VB.NET languages. Some of these features were not introduced into these languages until C# 3.0 and Visual Basic 9.0. This appendix provides you with a brief overview of these new language features.
Both C# and Visual Basic can infer the type of a variable when you create a local variable. For example, the following line of code creates a new string variable named
message with the value
var message = "Hello World!";
Dim message = "Hello World!" ...