How to determine if two generic type values are equal?
- by comecme
I'm trying to figure out how I can successfully determine if two generic type values are equal to each other. Based on Mark Byers' answer on this question I would think I can just use value.Equals() where value is a generic type.
My actual problem is in a LinkedList implementation, but the problem can be shown with this simpler example.
class…