Mega Code Archive

 
Categories / ASP.Net Tutorial / LINQ
 

Understanding Type Inference

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!"