hello..i've made a structure given below and the objects of that struct are stored in an arraylist
struct node
{
public int x;
public int y;
public int cost;
public object parent;
}
now when i'm adding a new object this type..i want to check if the arraylist already contains the object with the same values..the check should only focus on x,y and cost variables of the object leaving behind the parent variable..how do i achieve this??? which methods of the arraylist should i override?? any help would be appreciated