日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關咨詢
選擇下列產(chǎn)品馬上在線溝通
服務時間:8:30-17:00
你可能遇到了下面的問題
關閉右側工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
關于C++和C#類型比較的相關表格

C#類型比較

創(chuàng)新互聯(lián)為客戶提供專業(yè)的成都網(wǎng)站設計、成都網(wǎng)站制作、程序、域名、空間一條龍服務,提供基于WEB的系統(tǒng)開發(fā). 服務項目涵蓋了網(wǎng)頁設計、網(wǎng)站程序開發(fā)、WEB系統(tǒng)開發(fā)、微信二次開發(fā)、手機網(wǎng)站制作設計等網(wǎng)站方面業(yè)務。

類別類名說明Visual Basic 數(shù)據(jù)類型C# 數(shù)據(jù)類型C++ 托管擴展數(shù)據(jù)類型JScript 數(shù)據(jù)類型
整數(shù)Byte8 位的無符號整數(shù)。BytebytecharByte
DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
SByte8 位的有符號整數(shù)。 不符合 CLS。DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
SByte 無內(nèi)置類型。DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
sbytesigned charSByte
DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
Int1616 位的有符號整數(shù)。Shortshortshortshort
DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
Int3232 位的有符號整數(shù)。Integerintint - 或 -DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
longDZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
int
DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
Int6464 位的有符號整數(shù)。Longlong__int64long
DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
UInt1616 位的無符號整數(shù)。 不符合 CLS。DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
UInt16 無內(nèi)置類型。DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
ushortunsigned shortUInt16
DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
UInt3232 位的無符號整數(shù)。 不符合 CLS。DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
UInt32 無內(nèi)置類型。DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
uintunsigned int - 或 -DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
unsigned longDZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
UInt32
DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
UInt6464 位的無符號整數(shù)。 不符合 CLS。DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
UInt64 無內(nèi)置類型。DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
ulongunsigned __int64UInt64
浮點Single單精度(32 位)浮點數(shù)字。Singlefloatfloatfloat
DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
Double雙精度(64 位)浮點數(shù)字。Doubledoubledoubledouble
邏輯Boolean布爾值(真或假)。Booleanboolboolbool
其他CharUnicode(16 位)字符。Charcharwchar_tchar
DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
Decimal96 位十進制值。DecimaldecimalDecimalDecimal
DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
IntPtr大小取決于基礎平臺(32 位平臺上為 32 位值,64 位平臺上為 64 位值)的有符號整數(shù)。IntPtr 無內(nèi)置類型。DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
IntPtr 無內(nèi)置類型。DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
IntPtr 無內(nèi)置類型。DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
IntPtr
DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
UIntPtr大小取決于基礎平臺的無符號整數(shù)(32 位平臺上為 32 位值,64 位平臺上為 64 位值)。 不符合 CLS。DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
UIntPtr 無內(nèi)置類型。DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
UIntPtr 無內(nèi)置類型。DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
UIntPtr 無內(nèi)置類型。DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
UIntPtr
類對象Object對象層次結構的根。ObjectobjectObject*Object
DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
StringUnicode 字符的不變的定長串。StringstringString*String

DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se

C#類型比較—平臺調(diào)用數(shù)據(jù)類型DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se
DZX7¢?&dot÷ [url]www.cnntec.com[/url]¨…gúT??se

Wtypes.h 中的非托管類型非托管 C 語言類型托管類名說明
HANDLEvoid*System.IntPtr32 位
BYTEunsigned charSystem.Byte8 位
SHORTshortSystem.Int1616 位
WORDunsigned shortSystem.UInt1616 位
INTintSystem.Int3232 位
UINTunsigned intSystem.UInt3232 位
LONGlongSystem.Int3232 位
BOOLlongSystem.Int3232 位
DWORDunsigned longSystem.UInt3232 位
ULONGunsigned longSystem.UInt3232 位
CHARcharSystem.Char用 ANSI 修飾。
LPSTRchar*System.String 或 System.StringBuilder用 ANSI 修飾。
LPCSTRConst char*System.String 或 System.StringBuilder用 ANSI 修飾。
LPWSTRwchar_t*System.String 或 System.StringBuilder用 Unicode 修飾。
LPCWSTRConst wchar_t*System.String 或 System.StringBuilder用 Unicode 修飾。
FLOATFloatSystem.Single32 位
DOUBLEDoubleSystem.Double64 位

C++和C#類型比較

【編輯推薦】

  1. 定義C#接口學習經(jīng)驗
  2. C# ListBox學習筆記
  3. 操作C# Dataset介紹
  4. C# ODBC訪問MySQL數(shù)據(jù)庫
  5. 淺析C#和Java不同點

新聞名稱:關于C++和C#類型比較的相關表格
路徑分享:http://m.5511xx.com/article/djjjheo.html