Skip to content

GetDefault Method ​

Definition ​

  • Namespace: JASE
  • Assembly: JASE.ReflectionTools.dll

object GetDefault(Type type) ​

csharp
object GetDefault(Type type)

Gets the default value for a specified type.

Parameters ​

NameDescription
typeThe type to get the default value for.

Returns ​

The default value for the specified type.