private bool DoesFeatureClassExist(string gdbPath, string fcName) { List<string> dsNames = GetAllDatasetNames(gdbPath); if (dsNames.Contains(fcName)) return true; return false; }