Possible duplicate:What is the maximum length of a .NET string?
Is there a limit to a C # line for storing data?
Strings cannot contain more than two characters 31 because String.Length is a 32-bit integer.
String.Length
They are also limited by available memory.
string.Length is int, so the string can contain Int.MaxInt bytes - 2,147,483,647