public static string releaseBOM(string input) { try { CustomCode x = new CustomCode(); return(x.releaseBOM(input)); } catch (Exception ex) { string strErr = ex.Message + ex.StackTrace; return("[]"); } }