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
Explain the 3 types of properties in c# with an example?
What is difference between constants and read-only?
What is arraylist?
What is parameters in c#?
What is data bind in c#?
What is ildasm.exe used for?
I wish to create a windows application to perform a similar function as that of the "Search" which is provided to look for related files and folders in the System.. What steps must i follow??
How would you describe encapsulation in c#?
Is xml tags are case sensitive?
Is c# and c sharp same?
Explain how to add controls dynamically to the form using c#.net.
How many static constructors are allowed in a class?
Can a class have static constructor?
How do I create a .exe file?
What are the types of serialization?