namespace SelfPropelledArtilleryUnit.Generics { internal class SPAUCollectionInfo : IEquatable { public string Name { get; private set; } public string Description { get; private set; } public CarsCollectionInfo(string name, string description) { Name = name; Description = description; } public bool Equals(CarsCollectionInfo? other) { // TODO прописать логику сравнения по свойству Name throw new NotImplementedException(); } } }