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
Give a brief introduction on side-by-side execution. Can two applications, one using private assembly and the other using the shared assembly be stated as side-by-side executables?
What is the concept of inheritance in .net?
What is interface and abstract class in .net?
Usually in .net, the clr takes care of memory management. Is there any need for a programmer to explicitly release memory and resources? If yes, why and how?
Do you know what is lambda expressions in c#?
What is equivalent for regsvr32 exe in .net ?
What does il do?
Please explain what is immutability, what is it for and how is it codified?
What's the .net collection class that allows an element to be accessed using a unique key?
How is .net core cross platform?
Why is .net used?
How many types of generations are there in a garbage collector?
Explain the purpose of Remoting in .NET?
Define satelite assembly?
What is RPC? What is the use of it?