I would like to use VB9 but am not sure what syntax to use to say that I want a variable to be statically typed as in C#'s:
var foo = new Whatever();
In previous versions of VB:
Dim foo = New Whatever()
created a dynamically typed variable.
Is there a way to get static typing without actually writing the type in VB9?