Now that we've seen design techniques that aid in navigability, let's see some of the functionality in Visual Studio® where this improved navigability comes into play.
The Visual Studio® 2010 IDE offers many ways of navigating your code base over and above simply opening a file and scrolling around the text with the mouse or the arrow keys. We'll detail many of these features and discuss how we can refactor our code to accommodate each of these features to make the code base easier to navigate and thus easier to maintain.
One of the easiest ways of navigating code in Visual Studio® 2010 is to search for it with Find In Files. This searches for code based on the text you provide for the Find what text.
The following is the Find and Replace form in Visual Studio® 2010:
The Find and Replace form (in the Find in Files mode) consists of a textbox to enter the Find What text, find options, and result options. The find options allow us to specify case sensitivity, whether only...