.NET string max length?

  • Thread starter Thread starter phoenix
  • Start date Start date
P

phoenix

The Length property returns an int, so the maximum length of a string is
Int32.MaxValue (2,147,483,647) characters. Practically this will probably
mean that you can make your string as long as you have memory available to
put it in.

Yves
 
Is there an official max length for the string (System.String) class?

Thanks!

Derrick
 
Back
Top