How to make efficient in-memory log that stores only last 100 entries and can quickly output resulting string to TextBox (on every update)?
I’m doing actual logging to text files using File.AppendAllText but want to have ability to view last entries in my application.
What’s wrong with a simple Queue: