3 ms·
As I said, var was introduced with type inference. Before type inference you had to declare it twice, which you never had to do in VB, even in VB6.
by cm2187 10y ago
As I said, var was introduced with type inference. Before type inference you had to declare it twice, which you never had to do in VB, even in VB6.
- WayneBro 10y agoRight, but it was introduced to C# over 8 years ago so it's a bit of a moot point, wouldn't you say? `Dim`, a poorly worded keyword by today's standards, is a perfect example of the kind of leftover crap that C# doesn't have today that VB still does have.