I'm using StreamReader in C# to load a txt file into a list it's work fine with small size file <= 20 Mb but when I need to load large files the prepossess stopped and show me this
Your app has entered a break state, but no code is currently executing that is supported by the selected debug engine (e.g. only native runtime code is executing).
I'm using Visual Studio 2017.
This is the code
line = reader.ReadLine(); while (line != null) { if (line.Contains("@")) { myEmails.Add(line); line = reader.ReadLine(); } } reader.Close();