GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  C#
Go To First  |  Previous Question  |  Next Question 
 C#  |  Question 349 of 436    Print  
What is protected internal class in C#

  
Total Answers and Comments: 5 Last Update: February 12, 2007     Asked by: Ashutosh 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
July 10, 2006 23:22:30   #1  
Ela        

RE: What is protected internal class in C#
Protected Internal item is visible only to the current assembly or types derived from the containing class
 
Is this answer useful? Yes | No
July 24, 2006 08:50:11   #2  
Mahesh        

RE: What is protected internal class in C#

Class can be internal not protected or not even protected internal. Class can have only two access modifiers Public and internal.

if any field or method having access modifier protected internal then this field available to the others assemblies class and as well as class whose inharits this class.

www.geekswithblogs.net/mahesh


 
Is this answer useful? Yes | No
September 18, 2006 15:41:43   #3  
Jay        

RE: What is protected internal class in C#

You can have nested class as private or protected.

like

public class outer

{

protected class inner

{

int i;

]

}


 
Is this answer useful? Yes | No
September 20, 2006 13:34:18   #4  
Yuriy        

RE: What is protected internal class in C#

Class can be internal not protected or not even protected internal. Class can have only two access modifiers Public and internal.

Check C# reference. Class can be protected internal


 
Is this answer useful? Yes | No
February 12, 2007 08:36:53   #5  
Rajesh K        

RE: What is protected internal class in C#
Hi A class contain different access modifier. The Protected and Protected Internal are two access modifier..Protected ; can only access with in the base class and also accessible from the derive class.Protected Internal ; can only access with in base class and from the current assembly.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape