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 Design/Techniques Articles - Page 12
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 to use the A-star (A*) implementation in C# (Path Finding, PathFinder).
C# 3.0's new collection initializer feature provides a new syntax that combines collection object creation and initialization into a single step.
C# 3.0 introduced object initializers, which provide a new syntax to initialize the objects you create. This simple syntax combines object creation and initialization into a single step.
As you start working with generics, you're likely to want to create a few. See how easy it is to make the transition to writing your own generic types.
Latest CodeGuru Developer Columns
Discover the concept of late binding—the work behind the scenes to realize the late binding mechanism. Sample code and examples are provided.
Explore how to perform basic serial port communication. Examples are in C# and VB.NET.
Explore how to create and use a Ubuntu virtual machine.