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

Does c# support #define for defining global constants?

595


How does aspect oriented programming work?

503


What are events in C#?

550


What is a hash table in c#?

502


What is the data type for bit in c#?

468






What does it mean?

539


How do you specify a custom attribute for the entire assembly?

467


What are the namespace level elements?

494


What is generic types in c#?

500


How to find type of variable?

531


What is instantiating a class in c#?

475


What is the difference between asp net and c#?

486


Can we have 2 main methods in c#?

478


What is c# console application?

473


Can we inherit sealed class in c#?

463