|
Index
1 2
3
4
5
6
7
8 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38 39 40
C# FUNDAMENTAL
C#
=======================
It is a a kind of .net compatible object oriented, event
driven programming language.
It is the mother language of .net
Types of C# programming:-There are two type of C# programming
==================
1)Console Programming:-It write on notepad and run on
command prompt Visual Studio.net .
2)Windows Programming:-It write and run on Visual Studio.net
====================================================================
How to write and run console programming:-
1)Open notepad and write the program.
class HelloWorld
{
public static void Main()
{
System.Console.WriteLine("Hello World");
}
}
|
2)Open command prompt Of Visual Studio.net
3)Write your program in notepad and save it with
extension .cs eg "HellOWord.cs"
4)To Compile on command prompt
c:\>csc HellOWord.cs(NameofProgram.cs)
5.To run
c:\>HellOWord(NameofProgram)
Index
1 2
3
4
5
6
7
8 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38 39 40
|