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
Show $code
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/Oh sorry I just fixed everything it was just a copy and paste mistake. How do I close the post?
slash close
/close
✅ This post has been marked as answered!