RSS

Interview Questions for C#

21 Sep

1. What is the use of  “new” keyword other than object initialization ?.

Answer : New keyword is use in child class to hide the member/fields of a base class.

2. How do you implement two Interfaces which has methods with same Signature, same no. of parameters of same data type and same return type ?.

Answer : Implicit Interface Implementation.

3. Can we create an object in Inline If statement ?.

Answer : No, We can’t.

 
Leave a comment

Posted by on September 21, 2011 in Interview Questions for C#

 

Tags: , , , , , , ,

Leave a comment