C#/WPF 面试题(Microsoft, Morgan stanley)

Morgan Stanley:

1. How to deal with task exception handling?

2. Object native method? why we need them? (come again)

3. Generic definition? 

4. Thread synchronization? how many ways? autoresetevent, manualresetevent?

5. How to implement a singleton pattern with threadsafe?

6. What's the difference between implicit implement interface and explicit implement interface?

7. Difference between throw and throw ex?

8. Your biggest achievement during recent work? Why? how you did that?

9. Multiple cast delegate

10. Will GC handle circle refernce?


Microsoft:

1. Insert sorting algorithm

2. 写一个算法算出一组数中第n大的数字,如果数字有重复的不参与排序。 比如要算第2大的数,我的数组是11,22,44,44,28,29,那么结果应该是28.

3. difference between property injection and constructor injection? who did first?

4. can use typeof to lock?

5. Dependency property lazy loading feature

你可能感兴趣的:(面试)