RE: another interesting C# error I don't see

  • From: Katherine Moss <Katherine.Moss@xxxxxxxxxx>
  • To: "programmingblind@xxxxxxxxxxxxx" <programmingblind@xxxxxxxxxxxxx>
  • Date: Sun, 3 Jul 2011 22:01:01 +0000

Oh.  Then why didn't it just tell me that?  Was the compiler making a certain 
assumption I've not learned yet?

From: programmingblind-bounce@xxxxxxxxxxxxx 
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Christopher Coale
Sent: Sunday, July 03, 2011 5:42 PM
To: programmingblind@xxxxxxxxxxxxx
Subject: Re: another interesting C# error I don't see

You have an extra closing curly brace. Erase the second to the last one, and 
you should be good.

On 7/3/2011 2:40 PM, Katherine Moss wrote:
Hi all,
I've got two C# errors going on here that don't seem to make sense.  In the 
first, I get the following output from the error list windows of VS 2010: "type 
or namespace definition, or end of file expected", and the second is "The name 
console does not exist in the current context".  What did I do this time?  
Thanks.

Katherine

Other related posts: