0% found this document useful (0 votes)
12 views4 pages

C#.NET Programming Exercises Guide

The document outlines a series of tasks and programming exercises related to C#.NET, including explanations of the .NET Framework and various programming challenges. These tasks cover a wide range of topics such as mathematical computations, string manipulations, matrix operations, and user interface design. The exercises aim to enhance understanding and practical skills in C#.NET programming.

Uploaded by

Aditya Pareek
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views4 pages

C#.NET Programming Exercises Guide

The document outlines a series of tasks and programming exercises related to C#.NET, including explanations of the .NET Framework and various programming challenges. These tasks cover a wide range of topics such as mathematical computations, string manipulations, matrix operations, and user interface design. The exercises aim to enhance understanding and practical skills in C#.NET programming.

Uploaded by

Aditya Pareek
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

C#.

NET
1. Explain the .NET Framework?
2. Write a Program in .NET to print your name?
3. Write a .NET program to print Fibonacci series without using recursion?
4. Write a .NET program to check prime number.
5. Write a .NET program to check palindrome number.
6. Write a .NET program to print factorial of a number.
7. Write a .NET program to check Armstrong number.
8. Write a .NET program to reverse given number.
9. Write a .NET program to sum of digits of input number.
10. Write a .NET program to swap two numbers without using third variable.
11. Write a .NET program to convert decimal number to binary.
12. Write a .NET program to print alphabet triangle.

A
ABA
ABCBA
ABCDCBA
ABCDEDCBA

13. Write a .NET program to print number triangle.

1
121
12321
1234321
123454321

14. Write a .NET program to generate fibonacci triangle.

1
1 1
1 1 2
1 1 2 3
1 1 2 3 5
1 1 2 3 5 8
1 1 2 3 5 8 13
1 1 2 3 5 8 13 21
1 1 2 3 5 8 13 21 34

15. Write a .NET program to find the Smallest Element in a Matrix.


16. Write a .NET program to find the Largest Element in a Matrix.
17. Write a .NET program to Add Two Matrices.
18. Write a .NET program to Subtract Two Matrices.
19. Write a .NET program to Multiply Two Matrices.
20. Write a .NET program to Display Lower Triangular Matrix.
21. Write a .NET program to Display Upper Triangular Matrix.
22. Write a .NET program to Find Transpose of a Matrix.
23. Write a .NET program to check if Two Matrices are Equal.
24. Write a .NET program to check if a Matrix is an Identity Matrix.
25. Write a .NET program to Demonstrate Single Inheritance.
26. Write a .NET program to Demonstrate Multilevel Inheritance.
27. Write a .NET program to Demonstrate Hierarchical Inheritance.
28. Write a .NET program to Demonstrate Multilevel Inheritance with Virtual Methods.
29. Write a .NET program to Concatenate Two Strings.
30. Write a .NET program to Convert Upper case to Lower Case.
31. Write a .NET program to Convert Characters of a String to Opposite Case.
32. Write a .NET program to demonstrate the Overriding.
33. Write a .NET program to Demonstrate Pass by Value.
34. Write a .NET program to Demonstrate Pass by Reference.
35. Write a .NET program to demonstrate the Difference between Value Type Parameter and
Reference Type Parameter.
36. Write a .NET program to Illustrate Regular Expression Pattern.
37. Write a .NET program to Implement Namespaces.
38. Write a .NET program to demonstrate the goto Statement.
39. Write a program in .NET to create a function to input a string and count the number of
spaces within the string.
40. Write a .NET program that implements a method that divides two numbers. Handle the
DivideByZeroException that occurs if the denominator is 0.
41. Write a program in .net following form. And click to login button then show message
login success.

42. Write a program in .net following List view. And information.


43. Write a program in .net following form. And get information and print them.

44. Write a program in .net following form. And accept Full name and extract first name.

45. Write a program in .net following form. And click to button and change text color.
46. Create a .NET project for login form and write code in .NET for user login using
database connectivity.
47. Write a program in .NET to count the number of digits in a number using recursion.
48. Create a .NET project to demonstrate MDI Form.
49. Design the following calculator form and write the code in C#.

50. Create a .NET project to demonstrate crystal report.

You might also like