标签:
static void indent(string text, int indentLevel) { for (int i = 0; i < indentLevel; i++) { Console.Write(" "); } Console.WriteLine(text.Substring(0, Math.Min(79 - indentLevel * 2, text.Length))); }
标签:
原文地址:http://www.cnblogs.com/cang/p/4642164.html