long string csharp

Code Example - long string csharp

                
                        The limit of a c# string is 2GB or 2,147,483,647 bytes.
With UTF16, every character takes up 2 bytes.
Making the maximum amount of characters 1,073,741,823.