I know HashSet can use basic types like string and int, my question is what types are usable in HashSet. I am trying to create a HashSet of Cartesian coords that benefit from HashSet of not having duplicates. I tried
HashSet<int[]> temp = new HashSet<int[]>{new int[]{1,1}, new int[]{1,1} }
but that doesn't work. Looking for a type I can use to create a list of unique coords.