What is an Interface? Have you ever developed an Interface.
Answer Posted / arash
sorry i meant "its like multiple inheritance in C++ "
interface is an oops concept (inheritance)
its like multiple inheritance in C++
but we use Interface in .Net
Public Interface AnInterface //interface
Function WhoAmI() As String
End Interface
Public Class AClass
Implements AnInterface
Public Function WhoAmI() As String Implements AnInterface.WhoAmI
Return "AClass"
End Function
End Class
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Difference between abstract class and interface in .net?
Please explain what garbage collection is and how it works. Provide a code example of how you can enforce garbage collection in .net?
Using activex control in .net?
Explain me what is encapsulation?
How to Create and Consume a Web Service?
Explain what inheritance is, and why it's important?
Differentiate between managed and unmanaged code?
Using com component in .net?
What is web.config in .net?
I am constantly writing the drawing procedures with system.drawing.graphics, but having to use the try and dispose blocks is too time-consuming with graphicsobjects. Can I automate this?
What is class library in .net
What are the new features in .net core?
Is .net a programming language?
What's singlecall activation mode used for in .net?
What is deferred execution vs. Immediate execution in linq?