VB.Net Tutorial/Data Type/Long
Версия от 16:40, 26 мая 2010; (обсуждение)
Long = 1 Or 2
public class Test
Public Const MASK_READ_WRITE As Long = 1 Or 2
public Shared Sub Main
Console.WriteLine(MASK_READ_WRITE)
End Sub
End class
3
Long = &H1000&
public class Test
Public Const MASK_READ As Long = &H1000&
public Shared Sub Main
End Sub
End class
MinValue and MaxValue of Long
public class Test
public Shared Sub Main
Dim lNum As Long
Console.WriteLine("Long: " & lNum.MinValue & " to " & lNum.MaxValue)
End Sub
End class
Long: -9223372036854775808 to 9223372036854775807