Delphi和C#数据类型对应表
2024-10-01 09:41:05
Delphi DataType | C# datatype |
ansistring | string |
boolean | bool |
byte | byte |
char | char |
comp | double |
currency | decimal |
double | double |
extended | double |
int64 | long |
int32 | int |
int16 | short |
integer | int |
longint | int |
longword | uint |
olevariant | object |
pchar | string |
real | double |
real48 | double |
shortint | sbyte |
single | float |
smallint | short |
string | string |
variant | object |
widechar | char |
wchar | char |
uchar | char |
widestring | string |
word | ushort |
textfile | System.IO.FileInfo |
tdate | System.DateTime |
tdatetime | System.DateTime |
tfiletime | System.DateTime |
hresult | long |
pointer | object |
ansichar | char |
file | System.IO.File |
plongint | int |
pinteger | int |
pcardinal | uint |
pword | double |
pdword | double |
psmallint | short |
pbyte | byte |
pshortint | short |
pint64 | long |
plongword | uint |
psingle | float |
pdouble | double |
pdate | System.DateTime |
pdispatch | object |
ppdispatch | object |
perror | object |
pwordbool | bool |
punknown | object |
ppunknown | object |
ppwidechar | string |
ppchar | string |
ppansichar | string |
pansichar | string |
pextended | double |
pcomp | double |
pcurrency | double |
pvariant | object |
polevariant | object |
ppointer | object |
pboolean | bool |
pdatetime | System.DateTime |
thandle | long |
tresult | long |
cardinal | uint |
tbytearray | byte[] |
twordarray | int[] |
dword | int |
pstring | string |
pwidestring | string |
tsystemtime | System.DateTime |
bytebool | bool |
longbool | bool |
wordbool | bool |
hmodule | long |
tlargeinteger | int |
plargeinteger | int |
pwidechar | string |
toleenum | long |
pbytearray | byte[] |
pwordarray | int[] |
pansistring | string |
ptextbuf | string |
shortstring | string |
utf8string | string |
text | System.IO.Stream |
textfile | System.IO.Stream |
textinput | System.IO.TextReader |
textoutput | System.IO.TextWriter |
ttypeinfo | System.Type |
tbytes | sbyte[] |
最新文章
- windows 下搭建简易nginx+PHP环境
- Atitit 图像处理之理解卷积attilax总结
- PHP测试用例练习
- Node.js深受欢迎的六大原因
- 【查找结构5】多路查找树/B~树/B+树
- Halcon学习笔记之缺陷检测(二)
- swfupload操作手册
- Strusts2--课程笔记6
- Java Swing intro
- leetCode in Java (一)
- ubuntu远程桌面介绍
- mysql数据库备份及还原
- python 将os.getcwd()获取路径中的\替换成\\
- 安卓开发:UI组件-布局管理器和文本显示
- Ubuntu下创建XFS文件系统的LVM
- OracleSql语句学习(五)
- Java核心技术卷一基础知识-第5章-继承-读书笔记
- 装饰者模式vs适配器模式
- 1. @ModelAttribute注解
- jenkins关闭和重启