I have a C# class library that is going to be used in 2 different projects. One of them should access to all public classes and methods and the other one should only access to some of the classes and methods .
what is the best solution ?
I have a C# class library that is going to be used in 2 different projects. One of them should access to all public classes and methods and the other one should only access to some of the classes and methods .
what is the best solution ?
I think your best bet would be
InternalsVisibleTo
attributeOf course this doesn't prevent people from calling your methods using reflection