public virtual string GetCpfFormatado() { try { return(CPFCNPJUtil.formatCPForCPNJ(Cpf, false)); } catch (Exception) { return(Cpf.ToString()); } }
public override string ToString() { try { return(this.Nome + " (" + CPFCNPJUtil.formatCPForCPNJ(Cpf, false) + ")"); } catch (Exception) { return(this.Nome + " (" + Cpf + ")"); } }