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??
Answers were Sorted based on User's Feedback
Answer / komilla shaheen
Protected means within the same class .Internal means
within the same assembly.Protected internal means class
member within the same class,inherited classes in the same
assembly.i think it protected internal which is availble
in derived class which is outside the assembly.
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / 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 |
What is application object in c#?
give suitable code for all login controls
When compiler adds a default constructor to a class?
what kind of questions (.net)to expect in a telephonic interview.This is the first time i will be facing a tele interview .Any inputs regarding this??
2 Answers iNube Software Solutions,
Difference between dispose and destructor?
C# Code for How to set readonly property to Id(database) value?
What are the advantages of properties in c#?
what is the difference between c-sharp and vb.net?What kind of security or advances we find in both languages?
List out two different types of errors in c#?
What is Fragmentation and its Types?
What are data types with examples?
What is the name of c# compiler?