syntax for writing private method in a interface

Answer Posted / jayamala

By default interface is public.Interface is accessed by
another class it should be public.so we cant write it as a
private.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Who benefits from ajax?

594


What is jit (just in time)?

559


What is datasource c#?

495


What are the different types of constructors?

511


Why do we need delegates in c#?

497






What is use of hashtable in c#?

485


Why do you call it a process? What’s different between process and application in .net, not common computer usage, terminology?

543


Is it possible to force garbage collector to run?

488


Is c# 8 released?

499


Explain nullable types in c#?

545


What is an array? Give the syntax for a single and multi-dimensional array?

494


Can a struct be null?

497


Define thread?

587


List some of the common data providers for ado.net framework?

461


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

504