Why can?t you specify the accessibility modifier for methods
inside the interface?

Answer Posted / kumar vaibhav

Because Interface provides different implementation within calling class.So it should be public.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the benefit of delegate in c#?

496


How can you set image source dynamically from c# application to ”test.png” file?

638


Can you create sealed abstract class in c#?

481


What is static variable in c#?

492


What is an enumerator c#?

508






In a memory when you Box and Unbox a value-type what happens?

540


How do I download a program to my desktop?

461


Explain about Error handling and how this is done

532


Is comparable a functional interface?

500


What is datetime minvalue in c#?

569


i want o/p 011242110 in c# code.

1629


How does dictionary work in c#?

471


What is final keyword in c#?

521


Explain About remoting and web services. Difference between them

536


i want the csharp questions&answeres

1489