Table of Contents

GetDefaultValue Method

Definition

Namespace
Cuemon.Extensions
Assemblies
Cuemon.Extensions.Core.dll
Source
src/Cuemon.Extensions.Core/TypeExtensions.cs

GetDefaultValue(Type)

Gets the default value of the specified type.

public static object GetDefaultValue(this Type type)

Parameters

type Type

The Type to extend.

Returns

object

The default value of type.