Comparing objects
<p>I am pretty new to this ... </p>

<p>I have a class it contains some string members, some double members and some array objects. </p>

<p>I create two objects of this class, is there any simplest, efficient way of comparing these objects and say their equal ? Any suggestions? </p>

<p>I know writing a compare function but will it be time consuming. </p>
