Advertisement
Guest User

Untitled

a guest
Mar 27th, 2015
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.43 KB | None | 0 0
  1.   public override bool Equals(object obj)
  2.         {
  3.             var objAsNum = obj as BitArray64;
  4.  
  5.             if (objAsNum == null)
  6.             {
  7.                 return false;
  8.             }
  9.  
  10.             return this.number == objAsNum.number;
  11.         }
  12.  
  13. ....................................
  14.  
  15.   public static bool operator ==(BitArray64 first, BitArray64 second)
  16.         {
  17.             return first.Equals(second);
  18.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement