Mega Code Archive

 
Categories / VB.Net Tutorial / Data Type
 

Explicit conversion of an integer to a string

Module Tester     Public Sub Main()         Dim iInteger As Integer = 5280         Dim lLong As Long         Dim bytByte As Byte         Dim sngSingle As Single         Dim dblDouble As Double         Dim decDecimal As Decimal         Console.WriteLine("Explicit conversion of an integer to a string: {0}", CStr(iInteger))     End Sub End Module Explicit conversion of an integer to a string: 5280