Click or drag to resize

DefaultValueCreateDefault Method

Creates the default value (C#: default(T)) for the specified type, where the type is only known at runtime.

Namespace: TomsToolbox.Essentials
Assembly: TomsToolbox.Essentials (in TomsToolbox.Essentials.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public static Object? CreateDefault(
	Type type
)

Parameters

type  Type
The type.

Return Value

Object
The default value.
See Also