Compare Collections in C#

added by jacobsebastian
8/5/2011 4:31:25 AM

215 Views

Often we need to check if the items in the collections are same or not. It comes into action very often during unit testing. Here we will see three ways of doing so Entity Class (Player Entity) namespace ConsoleApplication1 { public class Players { public...


1 comments

vijayst
8/6/2011 10:58:03 AM
The class Players is a bit confusing. Especially when you are comparing a list of players with another list of players. Ideally, the class should be named Player.