Open sandboxFocus

Method Default

Default(IType)

Generates the default(T) syntax for the specified type.

Declaration
public static dynamic? Default(IType type)
Parameters
Type Name Description
IType type
Returns
Type Description
dynamic

Default(SpecialType)

Generates the default(T) syntax for the specified type.

Declaration
public static dynamic? Default(SpecialType type)
Parameters
Type Name Description
SpecialType type
Returns
Type Description
dynamic

Default(Type)

Generates the default(T) syntax for the specified type.

Declaration
public static dynamic? Default(Type type)
Parameters
Type Name Description
Type type
Returns
Type Description
dynamic