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.
- Open Visual Studio.Net2003.
- Select the menu File --> New -->Blank Solution to create a blank solution file named 'LG1'.
- Add a console based project 'First_prg' to the solution.
- Rename the class file 'class1.cs' to 'first_prg.cs'.i o
- Replace the code in 'first_prg.cs' with the given code.
0 comments:
Post a Comment