1
Answer

how long can a string be?

How long can a System.String be? I know that the Length() method returns a signed Int32, so it probably can't exceed 2^31 (2 billion something) characters. Does anyone know if its length is further restricted to a smaller maximum?

Answers (1)