ASP.NET Tutorial/LINQ/Type Inference
Версия от 15:30, 26 мая 2010; (обсуждение)
Understanding Type Inference: C# or VB.NET compiler determine the type of a variable at compile time.
Here"s an example of how you use type inference with C#:
var message = "Hello World!";
And here is how you would use type inference with VB.NET:
Dim message = "Hello World!"