What is Interface? Explain with an example.

Answer Posted / lakshman

interface is a collection of abstract members i.e semi implementation block..interface is used to implement the of multiple inheritance

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain Direct CAST vs CType ?

556


What is boxing? Explain its functionality?

561


Can you use foreach iteration on arrays in c#?

609


what are some characteristics of an array?

525


What is a method signature c#?

521






How do you inherit a class into other class in c#?

485


What are properties in c#. Explain with an example?

482


Okay, so an int is a value type, and a class is a reference type. How can int be derived from object?

553


Can I fly with a loop recorder?

482


What is a console?

500


What is the default value of singleordefault?

497


What is the data encapsulation?

487


What is desktop example?

490


Can you see a loop recorder?

499


How do I do implement a trace and assert?

568