RE: Errors In C# demo program I can't see or I don't understand

  • From: Katherine Moss <Katherine.Moss@xxxxxxxxxx>
  • To: "programmingblind@xxxxxxxxxxxxx" <programmingblind@xxxxxxxxxxxxx>
  • Date: Tue, 28 Jun 2011 03:39:16 +0000

Yeah.  Once I realized that the extra quote was there, I kind of figured that's 
what had happened.  My real question on this though is why in the world the 
compiler would mark that as two separate errors in the error window.

From: programmingblind-bounce@xxxxxxxxxxxxx 
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of qubit
Sent: Monday, June 27, 2011 11:36 PM
To: programmingblind@xxxxxxxxxxxxx
Subject: Re: Errors In C# demo program I can't see or I don't understand

Greetings.  I haven't tried compiling it, but I did notice an extra quote on 
the following line:


Console.WriteLine("Welcome {0}!", userName");



That would throw things off.

HTH

--le




----- Original Message -----
From: Katherine Moss<mailto:Katherine.Moss@xxxxxxxxxx>
To: programmingblind@xxxxxxxxxxxxx<mailto:programmingblind@xxxxxxxxxxxxx>
Sent: Monday, June 27, 2011 7:56 PM
Subject: Errors In C# demo program I can't see or I don't understand

Hi all,
Attached is a file that according to VS 2010 has errors, both a missing 
parenthesis and a missing semicolon, but when I look at it letter by letter and 
word by word, I see no such errors.  Do you see them?  If you do, please let me 
know where and what they are, so that I can fix them.  Thanks so much.  The 
tagged lines are 15 and 16.

Katherine

Other related posts: