VB和C#中常用数据类型对应表
以下是经过我测试的,我在VB中建一个Class,然后用C#引用,最后得出这个对应表:
nbsp;
VB
C#
currency
decimal
double
double
date
System.DateTime
int
short
long
int
object
object
single
float
string
string
以下是经过我测试的,我在VB中建一个Class,然后用C#引用,最后得出这个对应表:
nbsp;
VB
C#
currency
decimal
double
double
date
System.DateTime
int
short
long
int
object
object
single
float
string
string