private static void AppendString(StringWriter Stream, string Format, string Str) { if (Str.Length > 0) { Stream.WriteLine(Format, Str); } } }