C
C#2y ago
Mihane

My program closes after I run a foreach code. [Answered]

Hello, I'm a beginner and after I run my for each code the program won't go on even if outside of my foreach there is a Console.WriteLine and a Console.ReadLine
6 Replies
Angius
Angius2y ago
Show $code
MODiX
MODiX2y ago
To post C# code type the following: ```cs // code here ``` Get an example by typing $codegif in chat If your code is too long, post it to: https://paste.mod.gg/
Mihane
Mihane2y ago
Oh sorry I just fixed everything it was just a copy and paste mistake. How do I close the post?
TheBoxyBear
TheBoxyBear2y ago
slash close
Angius
Angius2y ago
/close
Accord
Accord2y ago
✅ This post has been marked as answered!