Hi everyone,
I am trying to get the distinct data from one list to another but it is not working .. my code is something like that:---
var orderdetails = new List<StaticOrders>
{
new StaticOrders() {id=1,ordername="a",ordertype="shoe",orderdate=DateTime.Now.ToShortDateString()},
new StaticOrders() {id=2, ordername="b", ordertype="shirt",orderdate=DateTime.Now.ToShortDateString()},
new StaticOrders() {id=2,ordername="a",ordertype="shoe",orderdate=DateTime.Now.ToShortDateString()},
&nb ...
Go to the complete details ...