c# - Where to put the equality function for a class in a third party library? -


i'm using third party library containing class lacks both operator==() , equals(). i'd implement 1 myself, i'm not sure how name , put it. i've tried add both operators extension method, both failed. i've written isequalto() function, results in rather confusing client code. know more elegant solution?

would option inherit or wrap third party class?


Comments

Popular posts from this blog

c# - IMAP GMAIL getting folder list problem -

CUDA shared memory -