Change and fix Program.cs demo loop