private static string ObjectToString(object data) { if (data == null) return "NULL"; return data.ToString(); }