Append long data type values to a StringBuilder object. : Long « Data Types « VB.Net






Append long data type values to a StringBuilder object.

   

Imports System.Text

Class Sample
   Public Shared Sub Main()
      Dim sb As New StringBuilder()
      
      Dim xInt64 As Long = 4
      sb = sb.Append(xInt64)

      Dim str As [String] = sb.ToString()
      Console.WriteLine("The appended string is:")
      Console.WriteLine(str)

   End Sub
End Class

   
    
    
  








Related examples in the same category

1.Long and Single NumberLong and Single Number
2.Get Long MinValue
3.Is Long value signed
4.Convert long value to string 16 based
5.Convert string value to UInt64
6.And two UInt64 values
7.Use the Sign(Long) method to determine the sign of a Long value and display it to the console.
8.Use CInt to convert long to Integer