Using CollectionAssert IComparer RRS feed

  • Question

  • Trying to use CollectionAssert.AreEqual(ICollection expected, ICollection actual, IComparer comparer) to compare two collections of an object that has about 20 properties.

    Trying to implement comparer below but doesn't work when an instance is passed as argument to comparer - 

    public class CustomComparer : IComparer ,IComparer<ClassName>{


    Dinesh Reddy G

    Friday, October 31, 2014 7:52 PM