top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

Can we access protected member in different assembly .

+3 votes
Can we access protected member in different assembly .
posted Feb 1, 2014 by Vishal Srivatsav

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Short answer is Yes?

Protected Member of a class in only available in the contained class (in which it has been declared) and in the derived class within the assembly and also outside the assembly.

Means if a class that resides outside the assembly can use the protected member of the other assembly by inherited that class only.

We can exposed the Protected member outside the assembly by inherited that class and use it in the derived class only.

answer Feb 1, 2014 by Jai Prakash
Similar Questions
0 votes

I am using dynamic keyword to deserailize my JSON Object. But I am getting error "Missing compiler required member 'Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create".

dynamic userId = JValue.Parse(responseLine);

I have added Mycrosoft,CSharp.dll reference also in the project but no luck.

Let me know what I am missing.

Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.