Migrates from Delphi to C#.NET

來源:互聯網
上載者:User
Delphi Data Type to C# Data Type

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 string
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[]

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.