Chen.Fisher
March 14th, 2007, 05:16 AM
Hi,
Is the hashcode produced by the function Uri.GetHashCode unique? Can two different URIs produce the same hashcode?
A quote from Object.GetHashCode:
The default implementation of GetHashCode does not guarantee uniqueness or consistency
I would like to use the value of Uri.GetHashCode as a unique key in my DB and i have to be sure it is unique.
If you have a link to an article claiming it is unique, please refer me to it.
Thanks,
Chen.
Is the hashcode produced by the function Uri.GetHashCode unique? Can two different URIs produce the same hashcode?
A quote from Object.GetHashCode:
The default implementation of GetHashCode does not guarantee uniqueness or consistency
I would like to use the value of Uri.GetHashCode as a unique key in my DB and i have to be sure it is unique.
If you have a link to an article claiming it is unique, please refer me to it.
Thanks,
Chen.