To expose non-public methods to the test project, you need to mark the assembly with an attribute called InternalsVisibleTo in the asemblyinfo.cs file??
For example:
[assembly: InternalsVisibleTo("testProjectName")]
You need to mark the methods as Internal, and they will available for you to test in the test project.
Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.





















