what is diffrence between protected ,internal and protected
internal??
whether protected field available in derived class which is
outside the assembly.
if not ..this is possible by which access modifiers??
Answer Posted / priya
Protected means within the same class and types derived from containing class.
.Internal means within the same assembly.
Yes, protected field will be available in derived class which is
outside the assembly.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why do we use Design Pattern in C#?
What is the difference between double and decimal in c#?
If you donot specify an access modifier for a method, what is the default access modifier?
Can interface have virtual methods in c#?
What is the default value of datetime in c#?
What is an assembly qualified name? Is it a filename? How is it different?
In a C# class we have a SortedList member m_addinProjects
we want to provide an iterator to allow the consumer of
this class access to the items in the collection. Please
provide an iterator method for the AnalyzeAddinsDLL class
below and an example of how it would be used.
namespace AnalyzeAddinsDLL
{
public class AllAddInProjects
{
private SortedList
How long can a string be c#?
What is razor view in c#?
What do you mean by “finalize” and “finally” methods in c#?
What is an actual parameter?
Is lazy t thread safe?
What are the types of comment in c# with examples?
What is ispostback c#?
What are namespaces, and how they are used?