12345678910111213141516171819 |
- using System;
- namespace MISTBowl_Brackets
- {
- public static class Traceback
- {
- static string m_traceback = string.Empty;
- public static void Write(string s)
- {
- m_traceback += '\t' + s;
- if (!s.EndsWith("\r", StringComparison.CurrentCulture) && !s.EndsWith("\n", StringComparison.CurrentCulture))
- m_traceback += Environment.NewLine;
- }
- public static string Read()
- {
- return m_traceback;
- }
- }
- }
|