<PackageReference Include="System.Xml.XmlSerializer" Version="4.0.11-beta-23409" />

XmlArrayAttribute

public class XmlArrayAttribute : Attribute
Specifies that the XmlSerializer must serialize a particular class member as an array of XML elements.
public string ElementName { get; set; }

Gets or sets the XML element name given to the serialized array.

public XmlSchemaForm Form { get; set; }

Gets or sets a value that indicates whether the XML element name generated by the XmlSerializer is qualified or unqualified.

public bool IsNullable { get; set; }

Gets or sets a value that indicates whether the XmlSerializer must serialize a member as an empty XML tag with the xsi:nil attribute set to true.

public string Namespace { get; set; }

Gets or sets the namespace of the XML element.

public int Order { get; set; }

Gets or sets the explicit order in which the elements are serialized or deserialized.

Initializes a new instance of the XmlArrayAttribute class.

public XmlArrayAttribute(string elementName)

Initializes a new instance of the XmlArrayAttribute class and specifies the XML element name generated in the XML document instance.