Mid Testing

How do you test private/internal members in .NET?

Test private members indirectly through public methods. For internal members, use the

[InternalsVisibleTo] attribute to expose them to test assemblies.

More from C# Programming Tutorial

All questions for this course