Connecting Tech Pros Worldwide Forums | Help | Site Map

Guid Array?

Tamir Khason
Guest
 
Posts: n/a
#1: Nov 16 '05
I want to build Guid Array so doing:
Guid[,] data = new Guid[x,y];
.... and recieve an error "; expected" - What's the hell?

TNX

--
Tamir Khason
You want dot.NET? Just ask:
"Please, www.dotnet.us "



Ming Chen
Guest
 
Posts: n/a
#2: Nov 16 '05

re: Guid Array?


Hi,
Most likely, you missed the ';' in the previous line of the source code.
:)

Ming Chen

"Tamir Khason" <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote in message
news:uT$mOuMoEHA.2900@TK2MSFTNGP09.phx.gbl...[color=blue]
> I want to build Guid Array so doing:
> Guid[,] data = new Guid[x,y];
> ... and recieve an error "; expected" - What's the hell?
>
> TNX
>
> --
> Tamir Khason
> You want dot.NET? Just ask:
> "Please, www.dotnet.us "
>
>[/color]


Scott Allen
Guest
 
Posts: n/a
#3: Nov 16 '05

re: Guid Array?


Perhaps you have some invalid syntax on a line in close proximity.

--
Scott
http://www.OdeToCode.com

On Wed, 22 Sep 2004 20:44:17 +0200, "Tamir Khason"
<tamir-NOSPAM@tcon-NOSPAM.co.il> wrote:
[color=blue]
>I want to build Guid Array so doing:
>Guid[,] data = new Guid[x,y];
>... and recieve an error "; expected" - What's the hell?
>
>TNX[/color]

Tamir Khason
Guest
 
Posts: n/a
#4: Nov 16 '05

re: Guid Array?


Nothing, checked it all and found NOTHING.
It looks like some kind of bug in framework 2.0...

MS - Your turn ;)

--
Tamir Khason
You want dot.NET? Just ask:
"Please, www.dotnet.us "

"Scott Allen" <bitmask@[nospam].fred.net> wrote in message
news:mcf3l0l5r9vr3t6fog895feuo8rvr1c0sr@4ax.com...[color=blue]
> Perhaps you have some invalid syntax on a line in close proximity.
>
> --
> Scott
> http://www.OdeToCode.com
>
> On Wed, 22 Sep 2004 20:44:17 +0200, "Tamir Khason"
> <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote:
>[color=green]
>>I want to build Guid Array so doing:
>>Guid[,] data = new Guid[x,y];
>>... and recieve an error "; expected" - What's the hell?
>>
>>TNX[/color]
>[/color]


Scott Allen
Guest
 
Posts: n/a
#5: Nov 16 '05

re: Guid Array?


Tamir,

2.0 is not a released product, so anything can be happening. That
being said, this would be a significant bug. Below is a complete
program I've compiled with the Beta1 refresh. Perhaps you could post a
complete program that does not compile to demonstrate the problem.

using System;

namespace ConsoleApplication6
{
class Program
{
static void Main(string[] args)
{
int x = 3;
int y = 4;
Guid[,] data = new Guid[x, y];
}
}
}

--
Scott
http://www.OdeToCode.com

On Wed, 22 Sep 2004 21:19:59 +0200, "Tamir Khason"
<tamir-NOSPAM@tcon-NOSPAM.co.il> wrote:
[color=blue]
>Nothing, checked it all and found NOTHING.
>It looks like some kind of bug in framework 2.0...
>
>MS - Your turn ;)[/color]

Kevin Yu [MSFT]
Guest
 
Posts: n/a
#6: Nov 16 '05

re: Guid Array?


Hi Tamir,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you're receving a compile error which
says missing ;. If there is any misunderstanding, please feel free to let
me know.

I agree with Scott's idea that since current 2.0 is a beta version,
anything can be happening. However, I have tried your code on both .net
framework 1.1 and 2.0, it seems to be fine on my machine. So I think there
must be some missing ; in your code before this line. Please also try
Scott's code to see if it works.

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Tamir Khason
Guest
 
Posts: n/a
#7: Nov 16 '05

re: Guid Array?


I tried Scott's code and it compiles BUT in Output Window appears the same
error, so it looking like bug in 2.0

BTW my code works as well after restart of VS (error in Debug, but compiles)

TNX to all

--
Tamir Khason
You want dot.NET? Just ask:
"Please, www.dotnet.us "

"Kevin Yu [MSFT]" <v-kevy@online.microsoft.com> wrote in message
news:kJLwJVRoEHA.3096@cpmsftngxa06.phx.gbl...[color=blue]
> Hi Tamir,
>
> First of all, I would like to confirm my understanding of your issue. From
> your description, I understand that you're receving a compile error which
> says missing ;. If there is any misunderstanding, please feel free to let
> me know.
>
> I agree with Scott's idea that since current 2.0 is a beta version,
> anything can be happening. However, I have tried your code on both .net
> framework 1.1 and 2.0, it seems to be fine on my machine. So I think there
> must be some missing ; in your code before this line. Please also try
> Scott's code to see if it works.
>
> HTH.
>
> Kevin Yu
> =======
> "This posting is provided "AS IS" with no warranties, and confers no
> rights."
>[/color]


Jon Skeet [C# MVP]
Guest
 
Posts: n/a
#8: Nov 16 '05

re: Guid Array?


Tamir Khason <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote:[color=blue]
> I want to build Guid Array so doing:
> Guid[,] data = new Guid[x,y];
> ... and recieve an error "; expected" - What's the hell?[/color]

Could you post a short but complete program which demonstrates the
problem?

See http://www.pobox.com/~skeet/csharp/complete.html for details of
what I mean by that.

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Willy Denoyette [MVP]
Guest
 
Posts: n/a
#9: Nov 16 '05

re: Guid Array?


Please post your code.

Willy.

"Tamir Khason" <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote in message
news:eGfz1xToEHA.3592@TK2MSFTNGP14.phx.gbl...[color=blue]
>I tried Scott's code and it compiles BUT in Output Window appears the same
>error, so it looking like bug in 2.0
>
> BTW my code works as well after restart of VS (error in Debug, but
> compiles)
>
> TNX to all
>
> --
> Tamir Khason
> You want dot.NET? Just ask:
> "Please, www.dotnet.us "
>[/color]


Closed Thread