syntax for writing private method in a interface

Answer Posted / anna

we can't have private methods in in interface.
by default all are public

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c# a keyword?

685


What is jit (just in time)?

732


Howmany five tracing levels in System.Diagnostics.TraceSwitcher? Why they are using?

725


What is null character in string?

732


Is hashset ordered c#?

660


what is the syntax to inherit from a class in c#?

724


Are arrays value types or reference types?

707


Is static class thread safe in c#?

702


What is assembly c#?

644


Can you inherit from a sealed class?

665


Explain About namespaces

753


Why do we need reflection in c#?

677


What are the fundamental differences between value types and reference types?

755


What is callback method in c#?

653


What are Memory foot print of an exe?

686