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

What is the difference between internal and protected in c#?

429


Can constructor have return type c#?

630


What are the different types of constructors in c#?

497


What is delegates in c#?

492


Is c sharp and c# are same?

502






What is system predicate?

456


What is an enumerator c#?

503


Explain the Different types of configuration files in .net?

566


What are async and await?

531


Explain the difference between Metadata and Manifest

537


Int map to which .net types?

534


write program in c# using this instructions name avinash varma ,work experiance<2,nochildren his work experiance is higher than 5 years,more than one children one children name is diwakar,number of years of work eperiance at current company is the ratio of children and work experiance is 0.21 to 0.5

1865


Can a struct inherit from another struct or class in c#?

511


What is default parameter in c#?

498


What is datarelation c#?

457