Hi ,
I i declare a variable with protected access modifiers.
Can we get access for that protected variables out side the assembly.
For Eg:
//ClassLibrary1.DLL
public class Class2
{
protected int Addprotected(int id)
{
return id + 1;
}
}
//refering ClassLibrary.DLL dll in ClassLibrary2 dll a
public class ClassB:ClassLibrary1.Class2
{
public int Addmeth()
{
this.Addprotected(1);// Can this work ?
}
}
Regards
krrish