Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 10
    "structures are allocated on stack and classes are allocated on heap". It's strange that interviewers consider that to be the right answer, because it's not a right answer. You should read blogs.msdn.com/ericlippert/archive/2009/04/27/… Commented Oct 20, 2009 at 9:11
  • @Joren thanks for the link...its a good read. Commented Oct 20, 2009 at 9:15
  • 6
    It's amazing what some interviewers think is "the right answer" to any given question, and they can be quite hostile if you point out that their pet answer is wrong. What is more amazing is that interviewers ask questions in order to elicit specific answers; when I interview, I try to ask questions that test ability to reason intelligently about a realistic problem, resolve ambiguities and understand complex code. Spouting correct answers to trivia questions is not a core requirement of most development jobs. Commented Oct 20, 2009 at 18:06
  • Joren: it is considered to be right answer because Richter's "CLR via C#" book says it (briefly) and this book is The Bible for some (lots of?) interviewers. Eric: agree with you completely about (non)importance of trivias, but managed to find only several companies (in my region) that do not ask about trivias. Commented Oct 22, 2009 at 12:33