If the interface in c# only contains the declaration of the methods and we need to define those methods in the class, then why we use the interface?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Sharp Interview Questions

You are designing a user control. You created new property called backgroundimage which is of type image. You wanted to disable storing this property in the user’s form. How to achieve this?

0 Answers  


Explain about accessibility modifier 'protected internal'?

0 Answers  


Define constructor in c#.

0 Answers  


What is the difference between these statements obj=null and obj.dispose()

4 Answers   Fulcrum Logic,


What is the advantage of generics in c#?

0 Answers  






What is master page in asp net c#?

0 Answers  


When do we generally use destructors to release resources?

0 Answers  


Can you inherit multiple interfaces?

3 Answers  


what is the difference between int and Int32?

5 Answers   TCS,


What is use of FormBoarderStyle Propertie

0 Answers   MCN Solutions,


What are class fields?

0 Answers  


Why do we need constructors?

0 Answers  


Categories