What is InterFace???

Answer Posted / supraja polam reddy

An interface in C# is type definition similar to a class
except that it purely represents a contract between an
object and a user of the object. An interface cannot be
directly instantiated as an object. No data members can be
defined in an interface. Methods and properties can only be
declared, not defined

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between interface and multiple interface?

632


Can we override main method in c#?

573


How many root nodes are there in an xml document?

526


If you want to write your own dot net language, what steps you will u take care?

637


How do you create user defined data types in c#?

624






Explain the role of Garbage collector and its generations?

618


What is javascriptserializer c#?

593


What is property in c#?

610


What is the difference between a constant and a static readonly field?

618


Why do we use interfaces in c#?

585


Can we use "this" command within a static method?

639


What is the use of generics in c#?

548


What is action c#?

573


What is the file extension for c#?

594


Is array thread safe c#?

558