CVB.Net 14.0
SystemExtensions Class Reference

Extension methods for types located in the System name space. More...

Static Public Member Functions

static object GetDefaultValue (this Type t)
 Get a suitable default value for a given type. More...
 

Detailed Description

Extension methods for types located in the System name space.

Member Function Documentation

◆ GetDefaultValue()

static object GetDefaultValue ( this Type  t)
static

Get a suitable default value for a given type.

Parameters
tType to retrieve the default for.
Returns
Default value for the input type.