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

How do I unload an assembly?

597


Does c# do array bounds checking?

620


What is primitive types in c#?

555


What is a multicast delegate in c#?

618


Can a string be null c#?

581






What is attribute c#?

515


What is static class in C#?

650


Are objects passed by reference in c#?

609


What are the Types of instancing properties and explain each. Explain the difference between multiuse,singleuse and globalmultiuse and which is default

625


Can you declare a class or a struct as constant?

625


What is variable and its classification?

622


What is reflection c#?

554


How do I create a multilanguage?

600


What is the difference between a variable and a literal?

635


Explain the difference between arraylist and array and in c#?

590