Click here to Skip to main content
15,890,512 members
Home / Discussions / C#
   

C#

 
AnswerRe: picture viewer?? Pin
Christian Graus27-Aug-07 21:19
protectorChristian Graus27-Aug-07 21:19 
GeneralRe: picture viewer?? [modified] Pin
jith - iii27-Aug-07 22:07
jith - iii27-Aug-07 22:07 
AnswerRe: picture viewer?? Pin
Vasudevan Deepak Kumar27-Aug-07 22:50
Vasudevan Deepak Kumar27-Aug-07 22:50 
GeneralRe: picture viewer?? Pin
jith - iii27-Aug-07 23:54
jith - iii27-Aug-07 23:54 
AnswerGot solution............ Pin
jith - iii27-Aug-07 23:49
jith - iii27-Aug-07 23:49 
Questionneed a custom textbox... Pin
TheCardinal27-Aug-07 20:54
TheCardinal27-Aug-07 20:54 
AnswerRe: need a custom textbox... Pin
JoZ CaVaLLo27-Aug-07 21:17
JoZ CaVaLLo27-Aug-07 21:17 
Questioninternal and internal protected Pin
Sonia Gupta27-Aug-07 19:28
Sonia Gupta27-Aug-07 19:28 
Internal-Access is limited to the current assembly.

Internal Protected-Access is limited to the current assembly or types derived from the containing class.

after then i implemented it , for that i created window application project and a class library project.
in class library project namespace i did the following code

namespace ClassLibrary1
{
public class Class1
{
protected int aniket = 10;

protected internal int tushar = 20;

internal int pavan = 30;

}
}


and in the window application project , after adding the reference of class library project , in the class file , i did the following code.

namespace validation1
{
class Class2: Class1
{
void method()
{
//variable aniket and tushar are accessible in thederived class due to reason that they are protected inernal and protected respectively.
//while the member named pawan is not assessible, because it's datatype is intenal.



Is this all the difference between internal and internal protected.
I mean , i wanted to ask that the findings i did for these two access modifiers are correct , or there is somethig else , that is needed to be understood the difference between them.
}
}
}








Sonia Gupta
Soniagupta1@yahoo.co.in
Yahoo messengerId-soniagupta1
Love is Friendship and Friendship is Love....

AnswerRe: internal and internal protected Pin
NaNg1524127-Aug-07 19:45
NaNg1524127-Aug-07 19:45 
GeneralRe: internal and internal protected Pin
Sonia Gupta27-Aug-07 19:50
Sonia Gupta27-Aug-07 19:50 
GeneralRe: internal and internal protected Pin
NaNg1524127-Aug-07 19:59
NaNg1524127-Aug-07 19:59 
GeneralRe: internal and internal protected Pin
NaNg1524127-Aug-07 20:07
NaNg1524127-Aug-07 20:07 
AnswerRe: internal and internal protected Pin
Vikram A Punathambekar27-Aug-07 19:46
Vikram A Punathambekar27-Aug-07 19:46 
GeneralRe: internal and internal protected Pin
Sonia Gupta27-Aug-07 19:51
Sonia Gupta27-Aug-07 19:51 
Questionwebhosting Pin
kalyan_241627-Aug-07 19:19
kalyan_241627-Aug-07 19:19 
AnswerRe: webhosting Pin
Vasudevan Deepak Kumar27-Aug-07 23:22
Vasudevan Deepak Kumar27-Aug-07 23:22 
GeneralRe: webhosting Pin
kalyan_241628-Aug-07 19:09
kalyan_241628-Aug-07 19:09 
Questionsqlserver and msoffice Pin
kalyan_241627-Aug-07 19:17
kalyan_241627-Aug-07 19:17 
AnswerRe: sqlserver and msoffice Pin
Vasudevan Deepak Kumar27-Aug-07 23:23
Vasudevan Deepak Kumar27-Aug-07 23:23 
QuestionDateTime Format Pin
mihirhp27-Aug-07 18:19
mihirhp27-Aug-07 18:19 
AnswerRe: DateTime Format Pin
PIEBALDconsult27-Aug-07 18:22
mvePIEBALDconsult27-Aug-07 18:22 
AnswerRe: DateTime Format Pin
NaNg1524127-Aug-07 19:31
NaNg1524127-Aug-07 19:31 
AnswerRe: DateTime Format Pin
Vikram A Punathambekar27-Aug-07 19:35
Vikram A Punathambekar27-Aug-07 19:35 
QuestionDevExpress LookUpEdit Event Pin
~Alisa~Anny~27-Aug-07 17:56
~Alisa~Anny~27-Aug-07 17:56 
AnswerRe: DevExpress LookUpEdit Event Pin
Niranjan Kala16-May-11 3:17
Niranjan Kala16-May-11 3:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.