IT Education PK


Welcome to IT Education PK

C# Basics (Labguide)

Sunday, November 28, 2010

Part 1-90 Minutes
C# is an object-sloping programming language. It has its roosts in powerful programming language such as C++. This session focuses on text programs using basic programming construct and the elemental facts types in C#.
 
Exercise 1 : Display a message
In this section, we shall discuss how to write a simple C# program displaying a message “This first program using C#”, compile and execute it.




  1.  Open Visual Studio.Net2003.
  2.  Select the menu File --> New -->Blank Solution to create a blank solution file named 'LG1'.
  3. Add a console based project 'First_prg' to the solution.
  4. Rename the class file 'class1.cs' to 'first_prg.cs'.i o
  5. Replace the code in 'first_prg.cs' with the given code.   
 

0 comments:

Post a Comment