In the case, I want to remove the duplicate objects of the list.
I use the object key, UserId
and Type
, to distinguish them in the list.
After I distinct the objects, the count of the list becomes 2.
The numbers of the list are 2023021403 and 2023021401.
1 | using System; |
Output:
1 | Number:2023021401 |