public boolean equals(Object obj) {if (!(obj instanceof File)) {return false;}return path.equals(((File) obj).getPath());}

public override bool Equals(object obj){if (!(obj is java.io.File)){return false;}return path.Equals(((java.io.File)obj).getPath());}
