Guest User

Untitled

a guest
Feb 24th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. public static bool operator ==(Node<T> lhs, Node<T> rhs)
  2. {
  3. if ((lhs == null) || (rhs == null))
  4. {
  5. return false;
  6. }
  7.  
  8. if((lhs.Data).CompareTo(rhs.Data) == 0)
  9. {
  10. return true;
  11. }
  12. else
  13. {
  14. return false;
  15. }
  16. }
  17.  
  18. if ((lhs == null) || (rhs == null))
Add Comment
Please, Sign In to add comment