public class Student { public string Name { get; set; } public int ID { get; set; } }
...
var st1 = new Student { ID =
Have a look at the following link. Its a solution on code project and I have used it too. It works fine for comparing the objects in both NUnit and MSUnit
http://www.codeproject.com/Articles/22709/Testing-Equality-of-Two-Objects?msg=5189539#xx5189539xx