Answer Posted / pramodgupta20
You can declare the property in interface and define it in
the class which implements the interface.
int GetUser{get; set;}
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the use of console readkey in c#?
What are Memory foot print of an exe?
What does an indexer do?
What are verbatim strings in c#?
Why do I get a security exception when I try to run my c# app?
Can derived classes have greater accessibility than their base types?
What does string intern do?
State the top.NET class that everything is derived from?
Differentiate between the public and private ?
Explain the difference between abstract class and interface in .net?
What are tuples c#?
List out the differences between array and arraylist in c#?
Can a abstract class have a constructor?
Which is better interface or abstract class in c#?
Explain about Serialize and MarshalByRef?