We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Silly that it is needed, but if you put all the "print" outputs in a string buffer and only write to console once at the end it works. Otherwise will timeout.
Simple Text Editor
You are viewing a single comment's thread. Return to all comments →
Silly that it is needed, but if you put all the "print" outputs in a string buffer and only write to console once at the end it works. Otherwise will timeout.
In your print logic
outputToConsole.AppendLine(currentString[printIndex].ToString());
Then at the end
Console.WriteLine(outputToConsole.ToString());