Great C#/ASP.NET Interview Questions

Finding really great interview questions is a challenge. They have to be relevant, current, fair, representative of real knowledge, and you should be able to research the answer if you don’t know.

While technical interview questions are probably not the best gauge of a candidate’s technical skills, they still provide some value: you can find holes in your knowledge to research, and find out about deep issues with a language or platform. At the least, you can quickly become familiar with some of the deeper details of a language that are relevant to daily use, without investing time in developing huge amounts of software.

Below are a collection of .NET interview questions, along with the answers. I hope you find them as useful as I did.

These questions scratch the surface of many topics. If you’re looking for some more esoteric or uncommon topics, further topics to investigate could include (in no particular order):

  • Suppressing garbage collection (why and how)
  • The IntPtr class
  • Writing CLS-Complaint code
  • The relationship between CLR, CLS, and CIL (CLS is the common minimum all languages must implement; their code is converted to CIL, which can then be run on the CLR). Implementing the CLS, therefore, makes it possible for you to interop with other CLS-compliant languages (C#, VB.NET, IronPython, etc.)
  • The .NET compilation process and double-compilation (CIL and native code)
  • The yield keyword
  • Lambda Expressions (and their relationship to delegates)
  • The performance of Generics (vs. non-generic collections)
  • Extension methods
  • Static constructors
  • Synchronization and the double-lock pattern
  • The ASP.NET Page Life-Cycle
  • Caching in ASP.NET
  • ADO.NET

About Ashiq Alibhai, PMP

Ashiq has been coding C# since 2005. A desktop, web, and RIA application developer, he's touched ASP.NET MVC, ActiveRecord, Silverlight, NUnit, and all kinds of exciting .NET technologies. He started C# City in order to accelerate his .NET learning.
This entry was posted in Uncategorized and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *