consider a list with values
1
2
2
2
5
i need to retrieve data to check whether the data has duplicate or not by using hashcode.
can anyone suggest me through example. just need to display amessage saying that ---yes the data inside has duplicate values