syntax for writing private method in a interface

Answer Posted / uma

By default all methods in the interface are not just
public !!!!! They are Public abstract.

Because methods of Interface will get override in the
Derived classes

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c# good for web development?

545


What is the difference between as and is operators in c#?

440


What is meant by unicode characters?

569


Define a manifest in .net?

540


What is disconnected data architecture in c#?

484






What is callback function in c#?

531


What is short in c#?

532


Can you declare struct members as protected?

504


You are designing a user control. You created new property called backgroundimage which is of type image. You wanted to disable storing this property in the user’s form. How to achieve this?

534


What is a console file?

490


Why is it not a good idea to use empty destructors?

548


Define clr in .net?

569


what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?

1452


What is difference between singleton and static class in c#?

480


What is the default modifier for class in c#?

519