BigInteger.Zero Property (System.Numerics)

Switch View :
ScriptFree
.NET Framework Class Library
BigInteger.Zero Property

Gets a value that represents the number 0 (zero).

Namespace:  System.Numerics
Assembly:  System.Numerics (in System.Numerics.dll)
Syntax

Visual Basic
Public Shared ReadOnly Property Zero As BigInteger
	Get
C#
public static BigInteger Zero { get; }
Visual C++
public:
static property BigInteger Zero {
	BigInteger get ();
}
F#
static member Zero : BigInteger

Property Value

Type: System.Numerics.BigInteger
An integer whose value is 0 (zero).
Remarks

The BigInteger object returned by this property provides a convenient source of a zero value for use in assignments and comparisons.

Version Information

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4
Platforms

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
See Also

Reference

Community Content

Thomas Lee
Sample Using Powershell
<#
.SYNOPSIS
This script displays statoc properties of a BigInteger
.DESCRIPTION
This script demonstrates the static properties of the BigInteger class.
.NOTES
File Name : Get-BigIntegerStaticProperties.ps1
Author : Thomas Lee - tfl@psp.co.uk
Requires : PowerShell Version 2.0
.NET Framework 4
.LINK
This script posted to:
http://www.pshscripts.blogspot.com
MSDN Sample posted at:
http://msdn.microsoft.com/en-us/library/system.numerics.biginteger_properties.aspx
.EXAMPLE
PSH [C:\foo]: .\Get-BigIntegerStaticProperties.ps1
MinusOne: -1
Zero : 0
One : 1
#>

# Add the .NET Version 4 System.Numerics namespace
$return = [System.Reflection.Assembly]::LoadWithPartialName("System.Numerics")

# Display the static properties of BigIntegerClass
" MinusOne: {0}" -f [System.Numerics.BigInteger]::MinusOne
" Zero : {0}" -f [System.Numerics.BigInteger]::Zero
" One : {0}" -f [System.Numerics.BigInteger]::One