Sample constant #1.

Namespace: SampleClassLibrary
Assembly: SampleClassLibrary (in SampleClassLibrary.dll)

Public Const CONSTANT_1 As Integer = 1
This language is not supported or no code example is available.
public const int CONSTANT_1 = 1
This language is not supported or no code example is available.
static val mutable  CONSTANT_1 : int
This language is not supported or no code example is available.
public:  
const int CONSTANT_1 = 1;
This language is not supported or no code example is available.
public const CONSTANT_1 : int = 1
This language is not supported or no code example is available.

Field Value

Type: int

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Core

Supported in: 1.0, 1.1, 2.0

.NET Standard

Supported in: 2.0

Xamarin.Android

Supported in: 7.1

Portable Class Library

Supported in: Portable Class Library