syntax for writing private method in a interface
Answer Posted / sudhir kunnure
we create interface for inherite to classes, and Private
methods can only access within class not inherited class.so
you cannot create Private methods in Interface.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Define Abstract Class in C#
What does dbml mean in texting?
Define interface class in c#?
What is the difference between delegates and events in c#?
What is the difference between dataset and datatable in c#?
What is Implementation inheritance and interface inheritance?
What is xaml in c#?
Classes and structs can be declared as static, is this statement true or false?
What are the examples of data types?
Is datetime a value type in c#?
How assembly versioning in .NET prevent DLL Hell problem?
What is the difference between yield and return?
Which property of the textbox cannot be changed at runtime?
What is data dictionary in c#?
Define an escape sequence, name few strings in escape sequence?