With regards to your question, Not sure i understand as per your expectation. However, as per my understanding goes, you wanted your datatable values to be converted into list but it shouldn’t contain the duplicates. If this is correct,
try the below logic