private static void SetCurrent(String line) { if (line == null) { line = String.Empty; } Clear(); foreach (char ch in line) { AddChar(ch); } }