How long can a string be c#?



How long can a string be c#?..

Answer / Ankit Srivastav

In C#, the maximum length of a string is approximately 2^31 - 1 characters (approximately 2 billion characters).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

How to use the sreamReader class to read form a text file?

1 Answers   MCN Solutions,


Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?

1 Answers   HCL,


How do I type a whitespace character?

1 Answers  


What are the uses of delegates in c#?

1 Answers  


What is getenumerator?

1 Answers  


what is application domain?

4 Answers   Kanbay,


What are the different types of constructors in c#?

1 Answers  


How a two-dimensional array declared in C#?

1 Answers   Siebel,


Can you change the value of a variable while debugging a C# application?

1 Answers   Siebel Systems, Wipro,


What is the meaning of console writeline in c#?

1 Answers  


What is the max value of int32 in c#?

1 Answers  


Is a valid int value?

1 Answers  


Categories