You may want to use String.Format here in AppendLine calls.