Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Reply
Total noob - References?
Chris
Dec 26 2006 9:33 AM
2.3k
Reply
Hi there.
OK, I've tried to learn C# before, rather half-heartedly, but never got anywhere with internet tutorials and helpfiles. Now I've got a hold of a decent C# book, and I'm stumped already!
I'm using Visual Studio 2003. If I start an "Empty Project" from the menu in VS, then add a "Code file" and enter the following:
using
System;
using
System.Windows.Forms;
Then I get errors. In my book, this is all it says to do. I have noticed, however, that if I create a "Windows Application" instead, delete all the automatic code, and enter my two lines, it works. This seems to be related to the "References" section in the VS Window, but my book (which is IDE-independent!) says nothing of this.
I don't really want to work around it, I'd far rather understand it. If anybody can help, or point me in the right direction, I'd be very appreciative. Apologies for the n00b post!
Chris
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Which windows service will be running on my machine if I installed SDE
Fixing a column of datagrid in C# windows form