Connecting Tech Pros Worldwide Help | Site Map

Guid Array?

  #1  
Old November 16th, 2005, 12:11 PM
Tamir Khason
Guest
 
Posts: n/a
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 "


  #2  
Old November 16th, 2005, 12:11 PM
Ming Chen
Guest
 
Posts: n/a

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]


  #3  
Old November 16th, 2005, 12:11 PM
Scott Allen
Guest
 
Posts: n/a

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]

  #4  
Old November 16th, 2005, 12:11 PM
Tamir Khason
Guest
 
Posts: n/a

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]


  #5  
Old November 16th, 2005, 12:11 PM
Scott Allen
Guest
 
Posts: n/a

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]

  #6  
Old November 16th, 2005, 12:12 PM
Kevin Yu [MSFT]
Guest
 
Posts: n/a

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."

  #7  
Old November 16th, 2005, 12:13 PM
Tamir Khason
Guest
 
Posts: n/a

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]


  #8  
Old November 16th, 2005, 12:13 PM
Jon Skeet [C# MVP]
Guest
 
Posts: n/a

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
  #9  
Old November 16th, 2005, 12:17 PM
Willy Denoyette [MVP]
Guest
 
Posts: n/a

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
understanding GUID Lamefif answers 13 September 15th, 2007 04:25 PM
System.Guid Michael Primeaux answers 5 December 21st, 2006 06:35 PM
XMLSerializing Array/ArrayList Using XMLAttributeOverrides Simon Gregory answers 0 November 20th, 2005 07:57 PM
GUID in ASP - defined variable does not remain constant BigDadyWeaver answers 6 July 19th, 2005 11:38 AM