vb.net中16进制或2进制常量定义
16进制定义:
Private p1 As Integer = &HC3051122
Private p2 As Integer = &H_C305_1122
p1和p2是一样的
2进制定义:
Private p3 As Byte = &B11011101
Private p4 As Byte = &B_1101_1101
p3和p4是一样的
Private p2 As Integer = &H_C305_1122
Private p4 As Byte = &B_1101_1101