System.Runtime by Microsoft

<PackageReference Include="System.Runtime" Version="4.0.21-beta-23409" />

 DefaultValueAttribute

Specifies the default value for a property.
public virtual object Value { get; }

Gets the default value of the property this attribute is bound to.

public DefaultValueAttribute(Type type, string value)

Initializes a new instance of the DefaultValueAttribute class, converting the specified value to the specified type, and using an invariant culture as the translation context.

public DefaultValueAttribute(char value)

Initializes a new instance of the DefaultValueAttribute class using a Unicode character.

public DefaultValueAttribute(byte value)

Initializes a new instance of the DefaultValueAttribute class using an 8-bit unsigned integer.

public DefaultValueAttribute(short value)

Initializes a new instance of the DefaultValueAttribute class using a 16-bit signed integer.

public DefaultValueAttribute(int value)

Initializes a new instance of the DefaultValueAttribute class using a 32-bit signed integer.

public DefaultValueAttribute(long value)

Initializes a new instance of the DefaultValueAttribute class using a 64-bit signed integer.

public DefaultValueAttribute(float value)

Initializes a new instance of the DefaultValueAttribute class using a single-precision floating point number.

public DefaultValueAttribute(double value)

Initializes a new instance of the DefaultValueAttribute class using a double-precision floating point number.

public DefaultValueAttribute(bool value)

Initializes a new instance of the DefaultValueAttribute class using a Boolean value.

public DefaultValueAttribute(string value)

Initializes a new instance of the DefaultValueAttribute class using a String.

public DefaultValueAttribute(object value)

Initializes a new instance of the DefaultValueAttribute class.