Monday, September 23, 2013

Part 3: C#.Net Interview questions and answers

Part 1 C#.Net Interview questions and answers

Part 2 C#.Net Interview questions and answers

Part 4 C#.Net Interview questions and answers

Part 5 C#.Net Interview questions and answers



37.       Interview Questions Related to Delegates and Events
b)      Types of delegates with examples?
c)       What are events?
d)      Events Vs Delegates?
e)      Do events have return type?
f)       Can events have access modifiers?
g)       Can we have shared events?
h)      Advantage and disadvantage of using delegates and events
i)        When to use delegates and events / in which scenario / give me practical example when should I use delegates and events?
j)        Can I use events without delegates and delegates without events?

38.       Different accessibility levels in .Net?

39.       Can we have different accessibility modifier on get /set method of a property?

40.       What is stack? What is heap? Give differences between two?

41.      What is shadowing?

42.      Shadowing Vs Overriding?

43.     What is use of overrides and overridable keywords?

44.     What does virtual keywords means in overriding?

45.    What does new keywords means in overriding?

46.    Examples on use of virtual / new keyword while overriding?

47.   Virtual functions?

48.   Can you override private virtual methods?  

49.   Can you declare the override method static while the original method is non-static?

Part 1 C#.Net Interview questions and answers

Part 2 C#.Net Interview questions and answers

Part 4 C#.Net Interview questions and answers

Part 5 C#.Net Interview questions and answers

No comments:

Post a Comment