• 4 hours
  • Easy

Free online content available in this course.

course.header.alt.is_video

course.header.alt.is_certifying

Got it!

Last updated on 3/28/24

Compare original and modified files

You can see the modifications we've made to the cloned application as Visual Studio indicates the changed files by marking them in the Solution Explorer with red check marks:

The Solution Explorer displays modified files with a red checkmark
The modified file is displayed with a red check mark

If you want to see the differences between the recent changes and the original cloned file, right-click on the filename and select Compare with Unmodified: 

Click on
Click on Compare with Unmodified to view the differences

A side-by-side Diff window will appear displaying the differences between changes and the original file. Newly added code is marked in green and removed code is marked in red: 

The Diff window
The Diff window

Viewing code side-by-side gives you the ability to see and remember what code modifications you made.

Let's recap!

  • Visual Studio maintains a history of file changes.

  • Modified files are marked with a red check mark in the Solution Explorer.

  • You can compare your changes with the original file by right-clicking on the file name and selecting Compare with Unmodified.

  • The Diff window shows new code in green and removed code in red.

Example of certificate of achievement
Example of certificate of achievement