Skip to main content

C# Interview Cheat Sheet

Top 50 interview questions with concise answers. Print this page or save as PDF for offline study.

View All C# Questions

1. What are value types and reference types?

2. What is boxing and unboxing?


3. What is garbage collection?

4. What is an interface?

5. What is abstraction?

6. What is encapsulation?

7. What are access modifiers in C#?

8. What is polymorphism?

9. What is method overriding?

10. What is a constructor?

11. What is a static constructor?

12. What is an exception?

13. What is the difference between == and Equals()?

14. What is C#?

15. What is the .NET Framework / .NET Runtime?

16. What is a namespace?

17. What is a nullable type in C#?

18. What is the difference between Array and List?

19. What is the purpose of the var keyword?

20. What is an enum?

21. What are properties in C#?

22. What is an indexer?

23. What is a delegate?

24. What is an event in C#?

25. What is the difference between break and continue?

26. What is the difference between ref and out keywords?

27. What is a sealed class?

28. What is a partial class?

29. What is the purpose of the using statement?

30. What is a thread in C#?

31. What is multithreading?

32. What is the lock keyword used for?

33. What is Just-In-Time (JIT) compilation?

34. What is the difference between is and as operators?

35. What is the base keyword?

36. What is the purpose of the readonly struct?

37. What is the difference between a field and a property?

38. What is an anonymous type in C#?

39. What is the difference between IEnumerable and IEnumerator?

40. What is the difference between IEnumerable and IQueryable?

41. What is the purpose of extension methods?

42. What is a static class?

43. What is the base class for all types in C#?

44. What is a destructor in C#?

45. What is method hiding in C#?

46. What is the difference between early binding and late binding?

47. What is the yield keyword used for?

48. What is a generic type?

49. What is covariance and contravariance?

50. What is dependency injection in C#?

Ready to level up? Start Practice