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 are the types of methods in c#?
Explain the difference between pass by value and pass by reference.
What is default boolean value in c#?
What is string empty?
What is a linq in c#?
What is boxing and unboxing in c#?
What is iqueryable?
What are the features of c#?
What is or operator in c#?
What is a nullreferenceexception?
Do loops in c#?
How can you use abstract class and interface?
What are regular expressions? Search a string using regular expressions?
Why do we use lambda expression in c#?
What is class method c#?