Improve HasDuplicates<T>
There is no need for checking if the item is already
in the HashSet. Thats what a HashSet is for.
.Add() returns false if the item is alread present.
1 parent 4cbdd45 commit b8d4b3509f1db8180535018b9a852b4831f2fd0f
@Mafii Mafii authored on 27 Oct 2016
Showing 1 changed file
View
ClosedXML/Extensions.cs