字符串存储.net中的字节数 [英] String store how many bytes in .net

查看:73
本文介绍了字符串存储.net中的字节数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

字符串存储.net中的字节数

String store how many bytes in .net

推荐答案

字符串中没有任何预定义的大小:omg:.A String object是 System.Char 的顺序集合,表示字符串。请参阅此链接



C#字符串内存 [ ^ ]



问候......:笑:
Theres not any predefined size for string :omg:.A String object is a sequential collection of System.Char objects that represent a string.Refer to this link

C# String Memory[^]

Regards.. :laugh:


这取决于机器

32位电脑

64位电脑

最大限制2 GB。



你能做的最好是1,073,741,823个字符。



希望有帮助
it depends on machine
32 bit pc
64 bit pc
Max limit 2 GB.

the best you could do is 1,073,741,823 character.

Hope it helps


这篇关于字符串存储.net中的字节数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆