Possible Duplicate:
VB.NET equivalent to C# var keyword
I'm doing C# And now I want to learn about VB.Net, and I want the equivalent for this:
var result = loginForm.ShowDialog();
Possible Duplicate:
VB.NET equivalent to C# var keyword
I'm doing C# And now I want to learn about VB.Net, and I want the equivalent for this:
var result = loginForm.ShowDialog();
Just use Dim
without a type designator.
Dim result = loginForm.ShowDialog()