Ejemplo n.º 1
0
 public override bool Equals(
     object?obj)
 {
     return(obj switch
     {
         UInt31 uInt31 => Equals(uInt31),
         uint i => Equals(i),
         _ => false
     });
Ejemplo n.º 2
0
 public bool Equals(
     UInt31 other)
 {
     return(One == other.One && Two == other.Two &&
            Three == other.Three && Four == other.Four);
 }