|
-
May 15th, 2007, 02:42 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] expression reqires() or [] after type?
Random random = new Random
Point pnt1 = new Point(random.Next(1,1000) ,random.Next(1000));
Point pnt2 = new Point(4,0);
Hi all on pnt1 i am getting an error for Point that says :A new expression requires () or [] after type
but for pnt2 i get no such error im not sure why it doesn like the random numbers?
any ideas
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|