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

What?s the role of the DataReader class in ADO.NET connections?

2 Answers  


What is distribute by in hive?

0 Answers  


How many root nodes are there in an xml document?

0 Answers  


What is int32?

0 Answers  


Explain the difference between private and shared assembly?

0 Answers  






In Main function another function is there and to that function if we pass string as parameter ,then that string value is passed by value or reference type?

4 Answers   Honeywell,


What is javascriptserializer c#?

0 Answers  


What is the main method in c#?

0 Answers  


What is use of hashtable in c#?

0 Answers  


without modifying source code if we compile again, will it be generated MSIL again?

0 Answers  


Can a sealed class be used as a base class?

0 Answers  


What?s the top .NET class that everything is derived from?

3 Answers  


Categories