Table of Contents

Method GetMaxValueUseMaxAsInt

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetMaxValueUseMaxAsInt<T>()

Gets maximum value of the enum as integer using max enum element.

public static int GetMaxValueUseMaxAsInt<T>() where T : struct, Enum

Returns

int

Type Parameters

T

Type of the enum.