C# Foundations · Lesson 16

Snapshots

Run freezes the text you had at that moment.

How it works

The output belongs to that snapshot. If you edit the file after Run, the old output is marked as the previous version. It does not pretend to be the result of the new text. The next Run takes a new snapshot.

A working example

Console.WriteLine("Hello, SharpRune!");

Expected output

Hello, SharpRune!
Try this
Look for the previous-version label.