1. Write a C# program that checks if a given number is even or odd using an if-else statement.
2. If you have two integers stored in variables var1 and var2, what Boolean test can you perform to see if one or the other (but not both) is greater than 10?
3. Develop a C# program that accepts two integers and performs arithmetic operations (addition, subtraction, multiplication, division) based on user input using switch-case statements and loop (Make it menu driven program).
4. Write a C# program to demonstrate the use of enumerations. Create an enum representing the days of the week, and write code to display a day’s name based on the user input.
5. Design a C# program that declares an array of integers, fills it with user input, and then finds the maximum and minimum values in the array.
6. Write a C# program to reverse a string input by the user. Display both the original and reversed strings.
7. Write a C# program to print the first 10 prime numbers using a for loop.
8. Design a C# program that calculates the factorial of a given number using a for loop.
9. Design a C# program that calculates the sum of digits of a number entered by the user using a while loop.
10. Write a C# program to repeatedly ask the user to enter a number until they enter a negative number. Display the sum of all positive numbers entered using a do-while loop.
11. Write a C# program to print a pyramid pattern of stars (*) using nested for loops. The height of the pyramid should be entered by the user.
12. Design a C# program that skips printing the number 5 in a loop from 1 to 10 using the continue statement.
13. Write a C# program that finds the first 10 Armstrong numbers using a for loop. Use the break statement to exit the loop when 10 Armstrong numbers have been found.
14. Create a C# program to demonstrate the difference between passing parameters by value and by reference. Use a method that modifies the values of variables passed both ways and display the results before and after the method call.
15. Design a C# program that uses a method with a variable-length parameter list to calculate the average of a set of numbers provided by the user. Display the average value.
16. Create a C# program that demonstrates boxing and unboxing. Store an integer in an object (boxing) and then extract it back into an integer variable (unboxing), showing the difference in behavior.
17. Write a code in C# to demonstrate the concept of Class & Object.
18. Write a code in C# to demonstrate the concept of Constructor in C#.
19. Write a code in C# to demonstrate the concept of Constructor Overloading in C#.
20. Write a code in C# to demonstrate the concept of Copy Constructor.
21. Write a code in C# to demonstrate Get & Set Properties in C#.
22. Write a code in C# to demonstrate the concept of Method Overloading.
23. Write a code in C# to demonstrate the concept of Method Overriding (Runtime Polymorphism).
24. Write a code in C# to perform Overloading of Operators.
25. Write a code in C# to demonstrate the concept of an Interface by implementing its method in a class.
26. Write a code in C# to demonstrate the concept of Abstract Class.
27. Write a code in C# to demonstrate the difference between an Abstract Class & an Interface.
28. Write a code in C# to handle System Exception.
29. Create a Windows Form application for performing the operation of a Calculator.
30. Create a Windows Form application to demonstrate the events of Checkbox control.
31. Create a Windows Form application to accept a number from the end user & calculate its square. Handle all possible system exceptions.
32. Create an application to demonstrate the connection of ADO.Net objects.
33. Create an application to demonstrate the Data Adapter object in ADO.Net.