namespace qdr.app.studiou.orders2printpack.Extensions { public static class StringExt { public static string ToQuotedString(this string str) { if (str == null) return string.Empty; return ToDecoratedString(str, "\""); } public static string ToDecoratedString(this string str, string leftDecoration, string rightDecoration) { if (str == null) return string.Empty; return leftDecoration + str + rightDecoration; } public static string ToDecoratedString(this string str, string bothDecoration) { if (str == null) return string.Empty; return ToDecoratedString(str, bothDecoration, bothDecoration); } } }