Tuesday, March 8, 2016

C# Interview Questions and Problem Solving..

It's been a crazy week so far. Interviews , phone screenings etc.. back and forth. I thought of saving all the interview questions, before I forgot the, Most of the cases, I did write solutions on Colab site, some were verbal ones etc..



  1. In C# what's the difference between action and a func?
  2. How do you make your code Threadsafe?
  3. What are Threadsafe Collection classes?
  4. MVC - how do you add actions?
  5. What are the cool features of VS.net 2015 ?
  6. How would you reverse a singly linked list without using extra space?
  7. Given an array of PUSH / POP actions in a stack, how would you calculate the max. depth? eg. {0,0,0,1,1,1,0,111,0,1} - maxDepth = 5
  8. TASK vs Thread?
  9. Async and await multi-threading prog. model
  10. Mutex / Semaphores - Do they create a system-wide lock ? (Yes Process/computer wide lock is acquired with Mutex).
  11. What is the use of Type as in System.Type ?
  12. What is polymorphism?




I will post the answers / solutions later.

No comments:

Post a Comment