What is an Interface? Have you ever developed an Interface.
Answers were Sorted based on User's Feedback
Answer / kinjal
interface is reference type and contain only abstract member.
interface member can be Methods ,events, properties and indexer. but interface contain only declaration of members.
interface can't contain constant ,data field, constructor ,static members, destructors.
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / 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 |
Answer / suren
It’s an abstract class with public abstract methods all of
which must be implemented in the inherited classes.
Explain him if you have ever developed an interface.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / arash
interface is a oops concept (inheritance)
its like multiple inheritance in C#.net with inheritance Key but we use Interface in VB.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 ? | 0 Yes | 3 No |
Please explain what is the .net framework and how does it work?
What's singlecall activation mode used for in .net?
How do you define the lease of the object?
What is MSIL, IL, CTS?
String[] a = new string[10] for(i=0; i<10; i++) { a[i] = i; } How many heap object will be created for this array. Choose the answer below. Ans: 1, 10, 11, 12
What is LINQ?
Explain what is reflection in microsoft .net context?
How to manage pagination in a page using .net?
Explain the Scope of public/private/friend/protected/protected friend.
How will u load dynamic assembly? How will create assemblies at run time?
How does u handle this COM components developed in other programming languages in .NET?
Explain about major components of the .NET framework.