C Sharp Programming For Beginners…
c # which is also called c-sharp is a very convenient and powerful programming language.
It is an object-oriented programming language that means we can relate it with the real-world.
The four main and of it, that makes it different from other languages.
1 Abstraction
2 Encapsulation
3 Inheritance and
4 Polymorphism
These features will be discussed in the next sessions.
now we will see the first program of c sharp.
are you people ready???
let’s go…
OK! if you are a beginner in the language, let us learn, how to write the program and then execute.
step 1. first of all you have to write a program in notepad and save it with the filename.cs form
Here filename is the name of the file and cs is the extension
here the filename is HelloWorld.cs.
C Sharp Programming For Beginners… |
start -> All programs ->Microsoft visual Studio 2005 ->Visual Studio Tools ->Visual Studio 2005 Command prompt.
InCommand prompt screen here you have to compile with CSC HelloWord.cs
and get the result using HelloWorld or HelloWorld.exe
Now you will get Hello World displayed on the Screen.