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

Answer Posted / praveen

no we cant add veriables in interface in c sharp

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are native methods?

489


Why do we still see so much non-oo code written in c# today?

494


What's the difference between system.string and system.text.stringbuilder classes?

531


what is the Difference between the public and private ?

520


What is the usage of transponders?

551






What is the main usage of keyword “virtual” ? How does it work for a method or property?

522


what is be the overhead, if i use binary transmission. and will it be sent using xml text or how ?

1688


What is strong name assembly?

463


What is the difference between wrapper class and primitive?

464


What is the difference between list and arraylist c#?

526


Does main have to be static c#?

494


Is string a class in c#?

481


What are the types of assembly available

518


What are winforms in c#?

505


Why is it not a good idea to use empty destructors?

548