I am interviewing candidates for a C#/C++ programming position and I just need some ideas for good technical questions to ask to guage someones experience. I am mostly concerned with C# experience. Does anyone have some good ideas on questions I should ask?
Questions involving using Sockets and Threading would be helpful too.
They don't have to be trick questions, but one I thought of was "Name a class that does not have the .ToString() method".
"What is polymorphism and why is is useful?"
I was shocked at the number of candidates that couldn't separate polymorphism from class inheritance and I don't think I've met one yet who could explain why it was useful (other than inheriting functionality, which is not the correct answer).
Also, for C#, ask them to explain garbage collection.