Re: VB - trivial improvements
- From: "Cor Ligthert[MVP]" <notmyfirstname@xxxxxxxxx>
- Date: Fri, 22 Feb 2008 07:56:57 +0100
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
.
- Follow-Ups:
- Re: VB - trivial improvements
- From: Stephany Young
- Re: VB - trivial improvements
- References:
- Re: VB - trivial improvements
- From: Cor Ligthert [MVP]
- Re: VB - trivial improvements
- From: Tom Shelton
- Re: VB - trivial improvements
- Prev by Date: disable menu
- Next by Date: Re: How do I trigger a function on a custom event?
- Previous by thread: Re: VB - trivial improvements
- Next by thread: Re: VB - trivial improvements
- Index(es):
Relevant Pages
|