Monday, November 19, 2012



C# Programs


1) Hello world program.
2) Program to find even and odd number.
3) Program to find PRIME NUMBER.
4) Program to find FACTORIAL.
5) Program to PRINT TABLE.
6) Program to create CALCULATOR USING SWITCH CASE.
7) Program to create CALCULATOR USING METHODS.
8) Program for PRINTING A '*' PATTERN.
9) Program to PRINT AN ARRAY.
10) Program to PRINT SUM OF AN ARRAY.
11) Program to PRINT MAX FROM AN ARRAY.
12) Program to find EVEN,ODD,PRIME,FACTORIAL,TABLE IN ONE PROGRAM USING SWITCH AND METHODS.
13) Program to PRINT AN ARMSTRONG NUMBER FROM 1 TO 999.
14) Program to demonstrate JAGGED ARRAY.
15) Program to demonstrate FUNCTION OVERRIDING.
16) Program to demonstrate TRY AND CATCH BLOCK.
17) Program to find MATRIX SUM.
18) Program to perform ADDITION OF 2-D ARRAY.
19) Program for SORTING OF NUMBERS.
20) Program to transpose a matrix.
21) Program to reverse a matrix.