0% found this document useful (0 votes)
47 views

C# Interview Question

Uploaded by

Sopheak Uk
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views

C# Interview Question

Uploaded by

Sopheak Uk
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

C# .

Net Interview

1. What is meant by garbage collection in C#?


2. What is a destructor in C#?
3. What is a constant in C#?
4. What is the difference between value type and reference type?
5. What are the different types of classes in C#?
6. What is the difference between fields and properties in C#?
7. What is method overloading in C#?
8. What are boxing and unboxing in C#?
9. What is the difference between ref and out keywords in C#?

10. What are the advantages of generics in C#?

11. When should multithreading be used and when should it be avoided in C#?
12. How would you explain the four fundamental concepts of object-oriented
programming?
13. When is method overriding used in C#?
14. What is the difference between overriding and overloading keywords in C#?
15. What is the difference between Const and ReadOnly keywords in C#?
16. What is meant by dependency injection in C#?
17. What is the difference between an interface and an abstract class in .NET?
18. What are the different types of collections available in the System.Collections
namespace?
19. What are extension methods in C# and how are they used?
20. What is .NET Core and how does it differ from the .NET Framework?
21. What are the advantages of using Entity Framework Core over traditional ADO.NET?
22. Explain the concept of dependency injection and how it is used in .NET.
23. Explain the concept of asynchronous programming in .NET.
24. What is a Relational Database Management System?
25. How does a Relational Database Management System differ from a Database
Management System?
26. What are some of the most popular Relational Database Management Systems?
27. What is the role of SQL?
28. What are join clauses?
29. What is the role of indexes?
30. How is the cursor used in SQL?
31. What are the key differences between the DELETE and TRUNCATE SQL commands?
32. What are some of the most important aggregate functions?
33. What are SQL injections and how can they be prevented?
34. What are the main differences between HAVING and WHERE SQL clauses?
35. Discuss how the .NET MAUI framework supports different platforms, such as iOS,
Android, Windows and macOS. What are the pros and cons of using a single cross-
platform framework like .NET MAUI?
36. What is .NET MAUI?
37. What are the key features of .NET MAUI?
38. What are the advantages of using .NET MAUI for cross-platform development?
39. How does dependency injection work in .NET MAUI?
40. Can you explain the concept of Hot Reload in .NET MAUI?

You might also like