Click here to Skip to main content
16,020,628 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
String store how many bytes in .net
Posted
Comments
ZurdoDev 10-Jul-13 7:48am    
.Net has 4,124,353,124 bytes.

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:
 
Share this answer
 
v2
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
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900