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 the difference between method parameters and method arguments. Give an example?
How can I create a process that is running a supplied native executable (e.g., Cmd.exe)?
How do you name a variable in c#?
What do you mean by directing?
How does c# generics and c++ templates compare?
What are the basic string operations? Explain.
What is a delegate?
Where do we set the min and max pool size for connection pooling?
What?s a delegate?
int i,string s, String s1 Which is valuetype which is refrence type.
wt is namespace? wt is the use?
What is delegates in c# and uses of delegates?
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)