VB中常用的数据类型和C#中数据类型的对应

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

Published At
Categories with Web编程
Tagged with
comments powered by Disqus