Mock objects can be created to act as stand-ins for actual implementations in order to isolate unit tests. This makes it easier to detect defects during development. Discover how to create your own mock objects using NMock 2.0.
Latest Miscellaneous Articles - Page 19
Want to test just how broad and expressive a language C# is? Learn how to implement nested functions for C#, which so closely models nested functions that nested behaviors practically exist already for the language.
Learn how to read and write Open XML files (MS Office 2007).
Learn to use the A-star (A*) implementation in C# (Path Finding, PathFinder).
XNA Game Developer is coming from Microsoft, and the Express edition will be free!
Employ this function in your e-commerce application to validate the credit card numbers your users enter.
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
Quirky and yet persistent, C++ is a language that keeps programmers coming back to it. Pick up some new ways to wrangle it into your workflow.
The Singleton pattern is very flexible. Learn to wrap it around your little finger.
Learn how to change your screen's wallpaper, screensaver, and its settings as well as change your screen's resolution.
Most developers face a grueling challenge to please their end users. We asked their top challenge is. With over 3,000 responses, the results are now available!