C# BigInteger One

Description

BigInteger One Gets a value that represents the number one (1).

Syntax

BigInteger.One has the following syntax.


public static BigInteger One { get; }

Example


//ww w .  jav  a 2 s  .  co  m
using System;
using System.Numerics;

public class Example
{
   public static void Main()
   {
      Console.WriteLine(BigInteger.One);
   }
}

The code above generates the following result.





















Home »
  C# Tutorial »
    System.Numerics »




BigInteger
Complex