private string Escape(string text) { if (text.Contains(" ")) { return String.Format("\"{0}\"", text); } else { return text; } }