Datatypes in Uipath : Set as like in python

how can we use set in uipath ?
i need to store only distinct values of dates
as set doesnt allow duplicate values , i am looking to store date in set

HashSet in dotnet is like Set in python

like consider this values / variable
var1 = { [05.06.2019], [18.09.2020], [26.04.2021], [31.12.2021], [18.09.2020], [26.04.2021] }
I need to have different set of values using set datatype

so the set output should be like array of strings
list1 = [“05.06.2019”, “18.09.2020”, “26.04.2021”, “31.12.2021”, “18.09.2020”, “26.04.2021”]
or set
set1 = (“05.06.2019”, “18.09.2020”, “26.04.2021”, “31.12.2021”, “18.09.2020”, “26.04.2021”)

In additin to get the distinct values, u can use list_variable.Distinct to get the distinct values

Regards,
Nived N
Happy Automation

As @nameless already answer. You can use a HashSet<string>, in your case a HashSet.

e.g: Assign:

mySet = New HashSet(Of String) From { "05.06.2019", "18.09.2020", "26.04.2021", "31.12.2021", "18.09.2020", "26.04.2021" }