Originally posted by Burkhard Hassel: ... When you compare two distinct objects with == the result will be always false.
When you compare two primitives, it will be true when the value is the same or false if not...
The way I like to think of this is that == is a comparison of values. For primitives, this is straight forward. For objects, this means a comparison of references, so == will return true only of both operands reference the same object.
Hope that helps.
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer sscce.org
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com