public IndexOf ( |
||
cell | The Cell to look for | |
return | int |
public int IndexOf(Cell cell)
{
for (int i=0; i<this.Count; i++)
{
if (this[i] == cell)
{
return i;
}
}
return -1;
}