Apart from the obvious typos', I would suggest that there is no significant
difference.
Try:
Dim obj1() As Object = New Object() {}
Dim obj2() As Object = New Object(-1) {}
Console.WriteLine(obj1.Length)
Console.WriteLine(obj1.GetLowerBound(0))
Console.WriteLine(obj1.GetUpperBound(0))
Console.WriteLine(obj2.Length)
Console.WriteLine(obj2.GetLowerBound(0))
Console.WriteLine(obj2.GetUpperBound(0))
and observe the results.
"stand__sure" <st*********@hotmail.com> wrote in message
news:d4**********@domitilla.aioe.org...
This has bugged me for some time.
Is there any "behind the scenes" difference between the following two
snippets?
Dim obj1 As Object = New Oject() {}
Dim obj2 As Object = New Object(-1) {}
Thanks!