예제 #1
0
 /// ////////////////////////////////////////////////////
 public override int GetHashCode()
 {
     if (Classe != null)
     {
         return(Classe.GetHashCode());
     }
     return(0);
 }
예제 #2
0
        public override int GetHashCode()
        {
            int prime  = 31;
            int result = 1;

            result = prime * result + Classe.GetHashCode();
            result = prime * result + Imagem.GetHashCode();
            return(result);
        }