Local History for Visual Studio automatically creates a history of your files every time they are saved. The history can be compared with the current version.
- Open the Local History from the View>Other Windows menu OR
- Open the Local History by right clicking on a project item to display the history
- Double-click the revision to compare it with the latest version.