Can variables defined in interface. If yes how we can
call/use it in class.
Answer Posted / sujai cn
No we can't define variables in interface.
Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
Define a class and an object?
Explain get and set accessor properties?
What is regex replace in c#?
What is an example of a delegate?
How do you prevent a class from being inherited?
Can list contain duplicates c#?
what is c# command?
What is constructors, explain with syntax
What does int parse do in c#?
What is the difference between dictionary and hashtable in c#?
Why do we use anonymous method in c#?
In which order the destructor is called for an inherited class?
Explain the difference between object type and dynamic type variables in c#?
What is the difference between method overriding and method overloading?
What is difference between array and collection in c#?