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
What is unsigned int?
What's the c# syntax to catch any possible exception?
Can a struct inherit from another struct or class in c#?
What is the correct way of declaring an xml namespace?
What is the use of oops in c#?
What do you mean by string objects are immutable?
Is everything an object c#?
What is a singleton unity?
How is a strongly-named assembly different from one that isn’t strongly-named?
What is ienumerable and iqueryable?
What is inheritance in csharp?
In languages without exception-handling facilities, we could send an error-handling procedure as a parameter to each procedure that can detect errors that must be handled. What disadvantages are there to this method?
What is the benefit of using interface in c#?
What is xml document how do you open it?
What is an indexer in c#?