public static string Serialize(SortExpression sortExpression) { TypeConverter converter = TypeDescriptor.GetConverter(typeof (SortExpression)); return (string) converter.ConvertTo(sortExpression, typeof (string)); }