KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is it possible to get access to a private static field inside a static class, using the VS2010 Unit Test class PrivateObject ? Let say i have the following class: public static class foo { private static bar; } Can i use PrivateObject to create a copy of foo , and then get the bar field?
Tags (comma-separated)
Save Edits
Cancel