您的位置:建站学院首页 >> 文章 >> asp.net >> .NET概论及软件使用
.NET命名规范中文版
C# type name Visual Basic type name JScript type name Visual C++ type name IL representation Universal type name
sbyte SByte SByte char I1 SByte
byte Byte byte unsigned char U1 Byte
short Short short short I2 Int16
ushort UInt16 UInt16 unsigned short U2 UInt16
int Integer int int I4 Int32
uint NA NA unsigned int U4 UInt32
long Long long __int64 I8 Int64
ulong UInt64 UInt64 Unsigned __int64 U8 UInt64
float Single float float R4 Single
double Double double double R8 Double
bool Boolean boolean bool I4 Boolean
char Char char wchar_t U2 Char
string String String String System.String String
object Object Object Object System.Object Object
一个支持从流中读取多种数据类型的类可以有下列方法。 double ReadDouble(); float ReadSingle(); long ReadIn64(); int ReadInt32(); short ReadInt16(); 上面的例子在下述对语言有专门要求的情况下是首选。 double ReadDouble(); float ReadFloat(); long ReadLong(); int ReadInt(); short ReadShort();

本内容共4页  首 页  上一页  下一页  尾 页  当前在第4

Google
 
Web www.cqxw.net