The Playground supports 3 modes : Default, aka Regular, Tutorial and Viewer.
Regular Mode
This mode is the default mode, the UI shows the "samples" Dropdown.
Lorem Ipsum. Sed ut perspiciatis, unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam eaque ipsa, quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt, explicabo. Nemo enim ipsam voluptatem, quia voluptas sit, aspernatur aut odit aut fugit.
Tutorial Mode
This mode offers a simplified UI targeting tutorial, ex. there's no "Samples dropdown, a "Reset" button to reset the snippet instead of clearing it.
A record is class declared with the `record` keyword instead of the `class` keyword, here's a working example.
For more information, make sure to check Using Record to Model Immutable Data.
The Playground also prevents the execution of some operations. We know you want to try, so here's an example.
Viewer Mode
This mode offers a minimalistic snippet viewer without a console, ex. to show code that won't compile.
Lorem Ipsum. Sed ut perspiciatis, unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam eaque ipsa, quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt.