Guid Array?

  • Thread starter Thread starter Ming Chen
  • Start date Start date
M

Ming Chen

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

Ming Chen
 
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,

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];
}
}
}
 
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 said:
Perhaps you have some invalid syntax on a line in close proximity.

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

I want to build Guid Array so doing:
Guid[,] data = new Guid[x,y];
... and recieve an error "; expected" - What's the hell?

TNX
 
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."
 
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
 
Back
Top