public bool CompareVacancy(Vacancy V1, Vacancy V2) { V1.WriteToConsole(); V2.WriteToConsole(); return(V1.VacName == V2.VacName && // V1.VacLink == V2.VacLink && // V1.VacJobType == V2.VacJobType && V1.VacFilial == V2.VacFilial && V1.VacFileDescription == V2.VacFileDescription && V1.VacFile == V2.VacFile && V1.VacEmployees == V2.VacEmployees && V1.VacRequirements == V2.VacRequirements && V1.VacResponsibilities == V2.VacResponsibilities && V1.VacConditions == V2.VacConditions && V1.VacDepartment == V2.VacDepartment); }