G
Guest
I am wondering if thereis a problem with using a structure (contains 2
strings and 1 datetime) as a key to a hashtable. I have created it without
overriding the gethashcode or equals functions and it seems to work. However
i am not sure if occasionally this can cause a problem with uniqueness. The
examples i ahve seen all use classes and override the two functions mentioned
above. I may make this change to a class but i want to be sure i am making a
gain by doing so. Thanks for any information on this.
strings and 1 datetime) as a key to a hashtable. I have created it without
overriding the gethashcode or equals functions and it seems to work. However
i am not sure if occasionally this can cause a problem with uniqueness. The
examples i ahve seen all use classes and override the two functions mentioned
above. I may make this change to a class but i want to be sure i am making a
gain by doing so. Thanks for any information on this.