Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Mock.NonPublic.Arrange<int>(mockedClass, "_prop").Returns(5);
Works as long as my private variable is setup like so:
private int _prop {get; set;}
However these:
private int _prop;
or
private int _prop = 5;
get an error attempting to read it.
Thanks in advance,
Mark