Is there a way to restrict a public method access to only a specific class in C#/.Net?

Posted by Anon on Stack Overflow See other posts from Stack Overflow or by Anon
Published on 2010-04-13T13:43:50Z Indexed on 2010/04/13 13:53 UTC
Read the original article Hit count: 237

Filed under:
|
|

I have a class A with a public method in C#. I want to allow access to this method to only class B. Is this possible? How?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET