1. What is the .
NET Framework, and what are its main
components?
2. Explain the role of CLR (Common Language Runtime) in
the .NET Framework.
3. Describe the compilation and execution process of a .NET
application.
4. What are the differences between value types and reference
types in C#? Provide examples.
5. Explain the purpose of the using statement in C# and how it
relates to namespaces.
6. What are the different types of loops in C#? Provide examples
for each.
7. How does method overloading work in C#? Write a program to
demonstrate it.
8. What are access modifiers in C#? List and explain each with
examples.
9. Explain the difference between abstract and sealed classes in
C#.
10. What is inheritance in C#? Provide an example of a base
class and a derived class.
11. How do interfaces enable multiple inheritance in C#?
Provide a code example.
12. What is polymorphism, and how is it implemented in C#?
Explain static and dynamic polymorphism.
13. Describe exception handling in C#. What are try, catch,
and finally blocks used for?
14. What are delegates in C#? How are they different from
events? Provide an example.
15. Explain the purpose of the async and await keywords in
asynchronous programming.
16. What are collections in C#?
Compare List<T> and Dictionary<TKey, TValue> with examples.
17. What is LINQ, and how does it simplify querying data in
C#? Provide an example.
18. Explain lambda expressions in C# and their use in LINQ
queries.
19. What are attributes in C#? How are they used, and what
are some predefined attributes?
20. Describe file I/O operations in C#. How do you read from
and write to a file using StreamReader and StreamWriter?