I am trying to return an `array with distinct records. But this piece of code isn’t working. What am I doing wrong?
return table.AsEnumerable().Distinct(DataRowComparer.Default).ToArray();
I am trying to return an `array with distinct records. But this piece of code isn’t working. What am I doing wrong?
return table.AsEnumerable().Distinct(DataRowComparer.Default).ToArray();
Copyright © 2021 Jogjafile Inc.