❔ Why does this program close? - C#