Can variables defined in interface. If yes how we can
call/use it in class.

Answers were Sorted based on User's Feedback



Can variables defined in interface. If yes how we can call/use it in class...

Answer / sujai cn

No we can't define variables in interface.

Is This Answer Correct ?    9 Yes 3 No

Can variables defined in interface. If yes how we can call/use it in class...

Answer / praveen

no we cant add veriables in interface in c sharp

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More C Sharp Interview Questions

How to sign an assembly with strong name?

0 Answers   CitiusTech,


What is dependency injection?

0 Answers  


What happens if a static constructor throws an exception?

0 Answers  


Can you use foreach iteration on arrays in c#?

0 Answers  


What are the three types of operators?

0 Answers  






What is datetime minvalue in c#?

0 Answers  


About Virtual functions and their use ?

13 Answers   MBITS, MMTS,


What is the compiler of c#?

0 Answers  


Is a char?

0 Answers  


What is asp net c#?

0 Answers  


Why do I get an error (cs1006) when trying to declare a method without specifying a return type?

0 Answers  


What does do in c#?

0 Answers  


Categories