Comparing Two ListBox Items

Apr 28 2011 3:41 AM
Hi everyone
Can you please let me know how I can compare two listbox items in C sharp?.For example if I have a listBox 1 populated with 5 city names as[Vancouver,Richmond, Delta, Surrey,Burnaby] and another list box called listBox2 and contains 7 city names as [Vancouver,Richmond, Delta, Surrey,Burnaby, Coquitlam, Mission].How can I disaplay the intersect and differences of two list boxes in two listbox as share List and different list?

Thanks

Answers (5)