<PackageReference Include="System.Drawing.Common" Version="10.0.0-preview.1.25080.3" />

CategoryNameCollection

Represents a collection of category name strings.
public string this[int index] { get; }

Gets the category name at the specified index.

Initializes a new instance of the CategoryNameCollection class using the specified collection.

public CategoryNameCollection(string[] value)

Initializes a new instance of the CategoryNameCollection class using the specified array of names.

public bool Contains(string value)

Indicates whether the specified category is contained in the collection.

public void CopyTo(string[] array, int index)

Copies the collection elements to the specified array at the specified index.

public int IndexOf(string value)

Gets the index of the specified value.