I am listing some of the Tough C# Interview Questions for Senior .NET Developer positions.
These questions can be expected for higher level positions. Please use the comment section to answer the questions.
- What is the function of the ”yield” keyword in C#. What does the C# compiler does internally
- Explain what you mean by Dependency Injection / Inversion of Control in C #.
- Explain the difference between a BeginInvoke and an Invoke
- In C# , what is cyclomatic complexity and explain its significance
- Contrast the use of Debug.Write and Trace.Write? When should each be used
- Explain the difference between object identity and object equivalence and their use
- How would you implement deep copy in .NET?
- How many types of memory leaks can happen in a .NET application and how would you troubleshoot a memory leak?
- Explain some design patterns – Composite Design Pattern, Decorator Design Pattern, Facade Design Pattern
- Explain C#.NET best practices you have implemented in your project.
- What is the main difference between Monitor.Wait and Monitor.Pulse
- Explain how you would create responsive UI without using threads.
- How will you get windows service name from app.config file in C#
- Explain how would you programmatically build and compile another C# project from your current project
- Using threads how which will receive same data at the same time?
- How would you link a C# Windows Form to an internet application?
- Explain the importance of the ”PropertySpecified” pattern used by the XmlSerializer. What problem does it solve?
- Contrast the difference between Debug and Release build? What is the speed difference you see in both?
- What is the difference between Background thread and UI thread in C#
- Explain the difference between Activator.CreateInstance and Assembly.CreateInstance
- How will you find a foreground thread from a background thread?
- Explain how would you build a HttpTraceListener?
- How will you remove the blank entry from an array in C#?
- Explain the process of loading an assembly from the GAC?
- How would you sort through an array of structs?
- Explain the process of creating an expression parser in c#?
- How would you get a list of installed codecs in C#?
- Explain how to architect Entity Framework Application with MEF.
- What is the use of this class UnmanagedMemoryStream?
- Explain how will you architect a web service cache in c#
Related Posts
No comments :