Int64 Structure
Represents a 64-bit signed integer.
For a list of all members of this type, see Int64 Members.
System.Object
System.ValueType
System.Int64
[Visual Basic] <Serializable> Public Structure Int64 Implements IComparable, IFormattable, IConvertible [C#] [Serializable] public struct Int64 : IComparable, IFormattable, IConvertible [C++] [Serializable] public __value struct Int64 : public IComparable, IFormattable, IConvertible
[JScript] In JScript, you can use the structures in the .NET Framework, but you cannot define your own.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
The Int64 value type represents integers with values ranging from negative 9,223,372,036,854,775,808 through positive 9,223,372,036,854,775,807.
Int64 provides methods to compare instances of this type, convert the value of an instance to its string representation, and convert the string representation of a number to an instance of this type.
CAUTION Assigning a 64-bit value on a 32-bit Intel computer is not an atomic operation; that is, the operation is not thread safe. This means that if two people simultaneously assign a value to a static Int64 field, the final value of the field cannot be predicted.
For information about how format specification codes control the string representation of value types, see Formatting Overview.This type implements interfaces IComparable, IFormattable, and IConvertible. Use the Convert class for conversions instead of this type's explicit interface member implementation of IConvertible.
Requirements
Namespace: System
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
Assembly: Mscorlib (in Mscorlib.dll)