C# StreamWriter Write(UInt64)
Description
StreamWriter Write(UInt64)
Writes the text representation
of an 8-byte unsigned integer to the text string or stream.
Syntax
StreamWriter.Write(UInt64)
has the following syntax.
[CLSCompliantAttribute(false)]
public virtual void Write(
ulong value
)
Parameters
StreamWriter.Write(UInt64)
has the following parameters.
value
- The 8-byte unsigned integer to write.
Returns
StreamWriter.Write(UInt64)
method returns
Example
using System;// w w w. j ava2 s.co m
using System.IO;
using System.Text;
class Program
{
static void Main(string[] args)
{
string fileName = "test.txt";
using (StreamWriter writer = new StreamWriter(fileName))
{
writer.Write((UInt64)123);
}
}
}