C# StringWriter WriteLine(UInt64)

Description

StringWriter WriteLine(UInt64) Writes the text representation of an 8-byte unsigned integer followed by a line terminator to the text string or stream.

Syntax

StringWriter.WriteLine(UInt64) has the following syntax.


[CLSCompliantAttribute(false)]
public virtual void WriteLine(
  ulong value
)

Parameters

StringWriter.WriteLine(UInt64) has the following parameters.

  • value - The 8-byte unsigned integer to write.

Returns

StringWriter.WriteLine(UInt64) method returns

Example


/*from ww w . ja v a2 s  .  c o m*/
using System;
using System.Globalization;
using System.IO;

class StrWriter
{
    static void Main()
    {
        StringWriter strWriter = new StringWriter();
        
        strWriter.WriteLine(32L);
        
        Console.WriteLine(strWriter.ToString());
    }
}

The code above generates the following result.





















Home »
  C# Tutorial »
    System.IO »




BinaryReader
BinaryWriter
Directory
DirectoryInfo
DriveInfo
File
FileInfo
FileStream
MemoryStream
Path
StreamReader
StreamWriter
StringReader
StringWriter