what is the purpose of interface in c#.net
Answers were Sorted based on User's Feedback
Answer / ankit singh
The main purpose of the interface is implement multiple
inheritance in .net
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / vai bhav
Basicalluy interface is used in any oops supported langusge
like c#.net to overcome the problem of multiple inheritance
i.e. inheriting more than one classes which have same
function also.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / n/a
The main purpose of the interface is to decsribe related
functionality that can belong to any class.
| Is This Answer Correct ? | 6 Yes | 4 No |
Answer / mayur teli
Basic purpose is to use the defined structure/pattern of common implementation on the child location.
In other word we can say that when multiple people are working on same project if they need to use some common functionality (like initializing variables for their module) instead of writing their own method name(like init(), initialize(), setup()) if we write single method name (lets say init) then this method name can be implemented by any developer who derived....
and use to achieve multiple inheritance.
| Is This Answer Correct ? | 2 Yes | 2 No |
Explain about multithreading?
What debugging tools come with the .NET SDK?
Expalin the way you implement inheritance by using VB.NET/C#?
how to change a value of particular cell in a data grid
What is dictionary collection in c#?
can u tell me any one steps for creatting sn.k
What is difference between method overriding and method overloading?
What do u mean by delegation?
what are the advantages of c# over vb.net?
10 Answers Choice Solutions, HCL, Practical Viva Questions,
Is namespace a class?
Why do we parse in c#?
datagridview using updata in windows c#
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)