Re: VB - trivial improvements

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Tom,

Santa Claus is in Holland at 5 december in the USA they have taken this connected to Christmass. In Holland he is still using his bishop clothes and in the USA that is translated to a kind of Dutch sailor with clothes from Lapland, while in Holland he comes from Spain and in the USA from the northpool.

Kids both in Holland and the USA are happy with this.

In fact is

dim a = "1"
the same as
var a = "1";

As you 've showed me so nicely some time ago.

As you want to call this anonymous, be happy with it, that is Santa Claus as well.

Cor

"Tom Shelton" <tom_shelton@xxxxxxxxxxxxxxxxxxxxxxxxxx> schreef in bericht news:%23JcG1IMdIHA.3736@xxxxxxxxxxxxxxxxxxxxxxx
On 2008-02-21, Cor Ligthert [MVP] <notmyfirstname@xxxxxxxxx> wrote:

<snip>

However if you want to replace the Dim (what I don't want, I want it
optional), why than not use the "var" as it is recentely introduced in C# to
have the (not complete) same behaviour as the Dim in C#.

What do you mean by this comment? var was introduced to preserve the C#
style of declaration and support anonymous types. var is more of a type
place holder, like T in a generic declaration than a synonym to the dim
keyword.

--
Tom Shelton

.



Relevant Pages

  • Re: VB - trivial improvements
    ... Christmas promotions already - and it's only February!!!!!!!!!!! ... Santa Claus is in Holland at 5 december in the USA they have taken this connected to Christmass. ... In Holland he is still using his bishop clothes and in the USA that is translated to a kind of Dutch sailor with clothes from Lapland, while in Holland he comes from Spain and in the USA from the northpool. ... have the same behaviour as the Dim in C#. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: VB - trivial improvements
    ... Christmas promotions already - and it's only February!!!!!!!!!!! ... In Holland he is still using his bishop clothes ... style of declaration and support anonymous types. ...
    (microsoft.public.dotnet.languages.vb)