Welcome, Guest. Please login or register.
Did you miss your activation email?
Pages: [1]   Go Down
  Print  
Author Topic: Getting started to develop in c#  (Read 1233 times)
0 Members and 1 Guest are viewing this topic.
Arkie
Javaforums.net Admin
Senior Member
*

Reputation: 16
Developer @ Javaforums.net
Offline Offline
Posts: 2593
Referrals: 13

WWW Awards
« on: February 08, 2009, 10:49:30 AM »



Preperation
First of all you need to install visual studio c# , you can download the Visual Studio 2008 Express Editions here: http://www.microsoft.com/express/download/  and download the c# express edition.

Compiling your first c# application
After installing the c# express edition (I assume that the install went smooth) you can test your visual studio express install by opening a new project by clicking on File -> new project -> console application and press "Ok" to continue.

In your code editor paste the code below
Code
GeSHi (csharp):
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5.  
  6. namespace ConsoleApplication1
  7. {
  8.    class Program
  9.    {
  10.        static void Main(string[] args)
  11.        {
  12.            Console.WriteLine("Hello World!");
  13.            Console.Read();
  14.        }
  15.    }
  16. }
  17.  
Created by GeSHI 1.0.7.20

Press f5 or the green arrow below the menu and a console should popup showing "Hello World!"

Logged

Java and .NET developer

To students: It doesn't matter how hard you've studied; the material won't be on the exam anyway.

Fan of http://www.retardedweblogger.com
Oh man, too much stuff to do in so little time.

http://img222.imageshack....707/arkietomatoesmall.jpg
Blizzcon 2k9 Grubby and Cassandra Ng engaged ! <3
Triple D, eerste Denken Dan Doen
Arkie
Javaforums.net Admin
Senior Member
*

Reputation: 16
Developer @ Javaforums.net
Offline Offline
Posts: 2593
Referrals: 13

WWW Awards
« Reply #1 on: February 08, 2009, 10:51:17 AM »

this spot is reserved for future edits.
Logged

Java and .NET developer

To students: It doesn't matter how hard you've studied; the material won't be on the exam anyway.

Fan of http://www.retardedweblogger.com
Oh man, too much stuff to do in so little time.

http://img222.imageshack....707/arkietomatoesmall.jpg
Blizzcon 2k9 Grubby and Cassandra Ng engaged ! <3
Triple D, eerste Denken Dan Doen
Pages: [1]   Go Up
  Print  
 
Jump to:  

Your Ad Here