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
What is eager and lazy loading in c#?
Explain the difference between class and interface in .net?
Name some properties of array.
What is event sourcing in c#?
What are reflections in c#?
What is difference between ienumerable and iqueryable in c#?
Is c# front end or back end?
Can scriptable objects have methods?
What is cls, cts and clr in net?
Why can't we use a static class instead of singleton?
what are the different ways a method can be overloaded?
What is literal in c#?
How big is an int16?
What is fcl in c#?
What is trim in c#?