Really basic C# and Visual Studio 2008 question

M

Mitch

Yeah that's the one I did. I just finished most of it two days ago. Only chapter 16 & 17 left they aren't that important.

Try this site for filling some of the gaps:
http://www.csharp-station.com/Tutorial.aspx

Thanks! So far, everything is review. In fact, I find myself saying
"Come one, don't do n =n =+1, do n++."

I don't even know what I remember that from.

But I'm looking forward to OOP concepts. That's where I'm a noob.
 
Z

zane546

I'm brand new, and just started C# for Dummies.

I've also put together a list of websites with code snippets and
tutorials.

If I cut-and-paste the following line from an example into Visual
Studio, I get errors.

Console.WriteLine(“Enter your name, please:”);

If I manually type the " and ( ) characters, it gets rid of the
errors.

Why is this?  Can it be avoided?  I  had planned on being able to doa
lot of cut-and-pasting as I learn code.

There are different kinds of quotes which differ both visually and in
character code, and this can be confusing as Visual Studio (and many
other IDEs) accept only a certain kind, the type that your keyboard
produces by default. I cut and paste code from websites every now and
then, yet I've run into this issue only once. I'd say that the problem
lies with the site you're copying from. Send them feedback about this
issue - I'm sure they're glad to hear their code snippets don't work
directly with VS and will hopefully fix the issue.


TEPPO ARNIVUO TAINA HAIKO PASI TENKANEN
ILKKA TUOVINEN KALLE PAAJANEN JYRKI HARKKI
OIVA AINOLA IIKKA PAAVOLAINEN MANNE ALANDER
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top