Help - Search - Members - Calendar
Full Version: Starting C#
BleepingComputer.com > Software > Programming
   
xXAlphaXx
I have not a clue what I am doing. I found some guide and it was trying too show a basic program. I loaded Microsoft Visual C# And I am SOOOO lost.


I assume its create new project, now which project do I create? :S I tried console application and now its like run this line from the command prompt.


Does any one know of any guides that will help instead of confusing me?
groovicus
Depending on your level of programming skills, there are a few different paths to follow. If you have no programming experience, then console programs are the way to start. You can run them from within Visual Studio, so there is no need to use the command line. If you already have some programming experience, then you can start with a Windows Forms project. Either way, there are a good number of tutorials available. The best tutorials are from Microsoft, and there are a number of good places to start:
The Basics
More Advanced
Beginner's Videos

That ought to get you started. If you have any questions about how to do things, please ask. When you do, please tell us what you are doing, any relevant links (for example, to the tutorial that you are using), and show us your code. I am primarily a Java developer, but I have been working on C# projects and other .NET related projects for about 6 months, so I have some good experience. I am also a Student Partner for Microsoft, so I have some good references that may help.
Lon3sword
Well, I've tried Visual C# and soon stopped using it. No, its not bad or something. just that I was not interested. The site admin has given you a perfect answerer. But I want to introduce you to a new language.
Its called processing and is based on Java. I don't if its damn useful in the future.....but I know that its damn fun to use it. You learn to create graphics and all sorts of wonderful (maybe) from the first day itself. I think its wonderful! Give it a try:

http://processing.org/

Also, you'll need Java development kit to run the program. I've started using it just yesterday and its pretty interesting.
Romeo29
According to Jesse Liberty, a well known author of many programming books, to learn .NET basics you need to work from command line programs, using the VC# command line tools. Once you are done, learning the basics, you can go on to learn Windows Forms and later other advanced topics.
Uraiser
C# can be easy, or hard, depending on your level of interest. I took Object Oriented C# this semester, and at first I had a strong interest in it. But it's command line based, so it's gotten very boring. We just finished a unit on methods and classes, starting another unit on passing to different methods, and I'm lost. I thought command prompt programming would be fun/interesting. Boy, was I wrong.
groovicus
Let's clear up a little FUD here. Programming languages are neither 'command line based' or 'gui' based. That just doesn't even makes sense. One can create console based programs that are run from a command line and print to a console, or one can run a gui from a command line.

.NET is a platform to which one programs using one of a variety of languages, including C#, C++, VB, and WMP, to name a few. You do not need to work from a command line; You can work from any number of IDEs, or you could simply use notepad. Assuming you mean Jesse Liberty, Silverlight senior Development Manager, then I would have a very difficult time believing that you found anywhere that said " to learn .NET basics you need to work from command line programs, using the VC# command line tools", because that just doesn't make sense, especially since the semi-quote hints at a philosophy for learning to program, which is simply that the best way to learn any programming language (of which .NET is not) is to use the simplest means possible, and compile from the command line. The purpose of doing so is so that one learns the basics of programming, and understands what the IDE is doing when it packages and compiles an application.

QUOTE
so it's gotten very boring.

Of course it is boring. You don't know anything yet, and what little you do know, you don't know how to put together to do anything really useful yet. You have to learn the basics first.
Uraiser
Edit:

I'll just shut up.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.