Run ❯
Get your
own C#
server
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
using System; using System.Collections.Generic; namespace MyApplication { class Program { static void Main(string[] args) { Queue
printJobs = new Queue
(); printJobs.Enqueue("report.pdf"); printJobs.Enqueue("photo.jpg"); printJobs.Enqueue("letter.docx"); while (printJobs.Count > 0) { Console.WriteLine("Printing " + printJobs.Dequeue()); } } } }
Printing report.pdf
Printing photo.jpg
Printing letter.docx