Table of Contents

Class NumConsts

Namespace
SunamoValues.Constants
Assembly
SunamoValues.dll

Numeric constants.

public class NumConsts
Inheritance
NumConsts
Inherited Members
Extension Methods

Fields

DefaultPortIfCannotBeParsed

Default port number used when port cannot be parsed.

public const int DefaultPortIfCannotBeParsed = 587

Field Value

int

KB

One kilobyte in bytes.

public const long KB = 1024

Field Value

long

MOne

Constant value of minus one.

public const int MOne = -1

Field Value

int

MinAge

Min age is 18 due to GDPR - below 18 is needed parent agreement of child.

public const int MinAge = 18

Field Value

int

NDtMaxVal

Numeric DateTime max value as short.

public static short NDtMaxVal

Field Value

short

NDtMinVal

Numeric DateTime min value as short.

public static short NDtMinVal

Field Value

short

One

One as integer (no type postfix).

public const int One = 1

Field Value

int

OneThousand

One thousand.

public static int OneThousand

Field Value

int

ZeroDouble

Zero as double.

public const double ZeroDouble = 0

Field Value

double

ZeroFloat

Zero as float.

public const float ZeroFloat = 0

Field Value

float

ZeroInt

Zero as integer.

public const int ZeroInt = 0

Field Value

int