iequatable
Cascading IEquatable(Of T)
I have several entities I开发者_如何学Go need to make IEquatable(Of TEntity) respectively. I want them first to check equality between EntityId, then if both are zero, should check regarding to other[详细]
2022-12-23 08:11 分类:问答Comparing two List<MyClass> in C#
I have a class called MyClass This class inherits IEquatable and implements equals the way I need it to. (Meaning: when I compare two MyClass tyupe objects individually in code, it works)[详细]
2022-12-22 12:42 分类:问答C# XNA: Trouble with Dictionaries
I\'m new to C#. Perhaps I\'m not implementing IEquatable properly, because objects of my type that should be considered the same are not.[详细]
2022-12-19 17:06 分类:问答Should IEquatable<T>, IComparable<T> be implemented on non-sealed classes?
Anyone have any opinions on whether or not IEquatable<T> or IComparable<T> should generally require that T is sealed (if it\'s a class)?[详细]
2022-12-13 08:56 分类:问答