Пример #1
0
 public bool Equals(Cuit otro)
 {
     if (otro == null)
     {
         throw new NullReferenceException();
     }
     return(this.Tipo == otro.Tipo &&
            this.Numero == otro.Numero &&
            this.Control == otro.Control);
 }
Пример #2
0
 public static bool TryParse(string cuit, out Cuit salida)
 {
     try
     {
         salida = Cuit.Parse(cuit);
     }
     catch
     {
         salida = null;
         return(false);
     }
     return(true);
 }