![]() |
Hi everyone, I have begun to write a series of c# tutorials for beginners. I am doing this to benifit both me (it will help me remember what i've learnt so far) and members of this board.
Preface: Before we start I have a few tips for programming begginers: 1: Get yourself a friend that knows c# well. Either it be in real life or via msn or irc. I have a few friends on irc and msn that have taught me well. 2: practice the same code. Go over and over every code that you write, put it in a notebook, and do it until you understand what it means and can write it fine. 3: Don't give up. I have never leaned a programming language before, and quit on a few others because I didn't know how. It may be hard at first, but stick to it. 4:Take it step by step. Don't skip over things. for example, I started by printing a simple code that prints a number on your screen. I then moved up to a program that prints the values of 2 numbers in addition. I then changed the code to add/divide/multiply/subtract. Now I am currently writing code that asks the user for 2 numbers and an operation. It then calculates. Once I have that setteled. I will move on. Now for the good stuff B) Section A: Your first program. Ok, now you should be ready. I hope you have a compiler. Either get ms visual c# or Sharp develop (free) google them. you will find some links :) Now, open a new project and do the following: :
using System;Now save and compile. There you have it! your first program. It should print hello world to your screen in a dos box, and close when you press enter. Now that didn't kill you, did it? :P Look soon for chapter 2 of the tutorial |
To elaborate on SharpDevelop you need to download it, and you need to download the .NET 1.1 Framework, and SDK the SDK runs about 100 meg but I'm not sure about the Framework.
Sorry to make it sound more complicated, but it's really simple. |
yes
|
Thank you for your tutorial
but what is the difference between C++ and C# ? and what do you suggest for someone, who has some experience with C++ and Java, to learn C#? |
If you have experience in C++ and Java, the next step would probably be C#... in my opinion.
|
hi every body please i want to know how to make a select statment in Crystal Reports thnx everybody
|
welcome to the forum. you may want to start a -new- thread with your question so more people will see it. you stand a better chance of getting a educated reply.
|
yeah dont hijack someone elses thread please. go into the C# section of the forums and ask there
http://programmingforums.org/forum/f...splay.php?f=16 that link goes to the C# section |
Nice tut Bulio, I just wanted to make a comment that you don't need the .NET sdk to run sharpdevelope, all you need in the .NET framework which is < 20 megs I believe.
|
Quote:
http://www.daniweb.com/code/snippet121.html |
| All times are GMT -5. The time now is 1:29 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC