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 |
Explain the difference between a namespace and assembly name in .net?
What is a generic in c#?
How can I use .NET components from COM programs?
What are data types in C#?
0 Answers TryTechnicals Pvt Ltd,
Can we inherit an abstract class in another abstract class. If no why and If yes how..?
What is the difference between virtual method and abstract method?
Describe an interface class?
Is multilevel inheritance possible in c#?
How do you create empty strings in c#?
What is indexers in C#
What is difference between Enum and Struct?
What is a console file?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)