K
Keith
Hello,
C# and J#/J++ return very different HashCodes for the same string. Is there
a reliable and generic way to reconcile these values? For example:
[C#]
string foo = "BOB";
int cFooHash = foo.HashCode;
[J#/J++]
String foo = "BOB;
int jFooHash = foo.getHashCode();
Is there a way to make cFooHash == jFooHash for any value of foo?
I have hashed stuff stored externally from a J++ app. I could use J# to
process them, but I'd rather not add a dependency to the J# runtime.
Thanks!
Keith
C# and J#/J++ return very different HashCodes for the same string. Is there
a reliable and generic way to reconcile these values? For example:
[C#]
string foo = "BOB";
int cFooHash = foo.HashCode;
[J#/J++]
String foo = "BOB;
int jFooHash = foo.getHashCode();
Is there a way to make cFooHash == jFooHash for any value of foo?
I have hashed stuff stored externally from a J++ app. I could use J# to
process them, but I'd rather not add a dependency to the J# runtime.
Thanks!
Keith