protected void Write(string val) { if (string.IsNullOrEmpty(val)) { // Do nothing } else if (val.Contains(this.Separator)) { Output.Write("\"" + val + "\""); } else { Output.Write(val); } }