-
30 Advanced C# Interview Questions for Senior Developers
Joy Agarwal posted in Information Technology: Dec 15, 2011
I am listing some of the Tough C# Interview Questions for Senior .NET Developer or Architect position
1. What is the function of the ”yield” keyword in C#. What does the C# compiler does internally
2. Explain what you mean by Dependency Injection / Inversion of Control in C #.
3. Explain the difference between a BeginInvoke and an Invoke
4. In C# , what is cyclomatic complexity and explain its significance
5. Contrast the use of Debug.Write and Trace.Write? When should each be used
6. Explain the difference between object identity and object equivalence and their use
7. How would you implement deep copy in .NET?
8. How many types of memory leaks can happen in a .NET application and how would you troubleshoot a memory leak?
9. Explain some design patterns – Composite Design Pattern, Decorator Design Pattern, Facade Design Pattern
10. Explain C#.NET best practices you have implemented in your project.
11. Contrast Monitor.Wait and Monitor.Pulse
12. Explain how you would create responsive UI without using threads.
13. How will you get windows service name from app.config file in C#
14. Explain how would you programmatically build and compile another C# project from your current project
15. Using threads how which will receive same data at the same time?
16. How would you link a C# Windows Form to an internet application?
17. Explain the importance of the ”PropertySpecified” pattern used by the XmlSerializer. What problem does it solve?
18. Contrast the difference between Debug and Release build? What is the speed difference you see in both?
19. What is the difference between Background thread and UI thread in C#
20. Explain the difference between Activator.CreateInstance and Assembly.CreateInstance
21. How will you find a foreground thread from abackground thread
22. Explain how would you build a HttpTraceListener?
23. How will you remove the blank entry from an array in C#
24. Explain the process of loading an assembly from the GAC?
25. How would you sort through an array of structs?
26. Explain the process of creating an expression parser in c#?
27. How would you get a list of installed codecs in C#?
28. Explain how to architect Entity Framework Application with MEF.
29. What is the use of this class UnmanagedMemoryStream?
30. Explain how will you architect a web service cache in c#
#interview, #C Sharp