This site features a collection of common technical interview questions gathered by a group of programmers who have been through, and given, lots of technical interviews. There is an emphasis on C++ and game programming technical interviews, but most of the questions are relevant to any technical interview.
Block Inheritance

In C#, can you prevent a class from being inherited by another class? If so, how do you do it? And why would you want to do it?


1 Comment so far
Leave a comment

This can be done by making constructors of the class private and making use of Named constrcutors for the class



Leave a comment
If you are including code in your comment, place it within a <div class='code'></div> tag for better formatting.


Do you have a technical interview question you would like to submit? Some tips you would like to pass on? Just want to say hi? Feel free to contact us