2009
10.31

I recently did a direct port of the java EqualsBuilder into c#. After some experimenting i’ve created a new version for c# that takes advantage of some of language features that java doesn’t have.

Usage

EqualityCheck.Of(
  stringA.And(stringB),
  intA.And(intB),
  decimalA.And(decimalB),
  objectA.AndPropertiesOf(objectB))

Code is available for download from here. Download

No Comment.

Add Your Comment