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
Why are mutable structs evil?
From a versioning perspective, what are the drawbacks of extending an interface as opposed to extending a class?
What are jump statements in c#?
Explain acid rule of thumb for transactions in c#.
What is strong data type in c#?
Explain the difference between “constant” and “read-only” variables used in c#?
What is access specifier in c#?
What is the max value of int32 in c#?
Can we overload the main method in c#?
What is thread and explain states of a thread in c#?
Why do we need escape characters?
What are the fundamental principles of oo programming?
What is a framework in c#?
Can I call a virtual method from a constructor/destructor?
Explain About remoting and web services. Difference between them