syntax for writing private method in a interface

Answer Posted / pankaj

we cnt write private methods in an interface.as we have to
inherit that method its by default on public scope

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is goto statement supported in c#?

562


What is the default value of date?

445


What is regex replace in c#?

500


What is a console?

490


What is difference between ienumerable and ienumerator in c#?

502






Why do we use static methods in c#?

528


Why do we need constructor?

481


What is toint32 c#?

614


Can int be null in c#?

490


What are the different approaches of passing parameters to a method?

468


What is a constructor in c#?

507


What is a three-tier application.

544


Does a loop recorder have to be removed?

585


What is desktop application testing?

481


What is void in c#?

524