Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

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?

1010


What is the concept of inheritance in .net?

1230


What is interface and abstract class in .net?

1077


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?

1157


Do you know what is lambda expressions in c#?

1128


What is equivalent for regsvr32 exe in .net ?

1219


What does il do?

1018


Please explain what is immutability, what is it for and how is it codified?

1061


What's the .net collection class that allows an element to be accessed using a unique key?

1076


How is .net core cross platform?

1155


Why is .net used?

1051


How many types of generations are there in a garbage collector?

1027


Explain the purpose of Remoting in .NET?

1179


Define satelite assembly?

1117


What is RPC? What is the use of it?

1253