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
Value Type and Reference Type Data type in C#?
When would you use generics in your code c#?
If you donot specify an access modifier for a method, what is the default access modifier?
Why do we use dictionary in c#?
What is global namespace in c#?
Can you instantiate a struct without using a new operator in c#?
List down the differences between “dispose” and “finalize” methods in c#.
Can you describe iuknown interface in short?
Is constructor a static method?
What language is arduino?
Do while loops yes or no c#?
Explain polymorphism in c# with a simple example?
What is the difference between C# 3.5 and C# 4.0?
Can I use exceptions in c#?
What is Covariance and contravariance in C#?