System.StringBuilder and System.String classes
State the difference between System.StringBuilder and System.String classes?
Expert
StringBuilder and String classes are used for storing string values but the difference in them is that String is immutable (read only) by nature, because any value once assigned to String object cannot be changed after its creation. When value in String object is changed, a new object is created, in the memory, with new value assigned to the String object. Whereas, the StringBuilder class is mutable, since it occupies same space even after the value is changed. StringBuilder class is more efficient where you need to execute huge amount of string manipulation.
What are the rules and regulations which should be followed while creating the well-formed XML document?
Is it possible for users to define their own exceptions in code?
List out the different components of an assembly.
Specify difference between the asynchronous postback and the synchronous postback?
List the types of Cookies that are available in ASP.NET?
Write ASP.NET configuration options that are supported in ASP.NET implementation on shared Web hosting platform?
The information, like role management membership, profile, and Web parts personalization is stored in which database?
Explain some of the versions of .NET?
State the different types of authentication techniques which are used in connection strings to connect applications of .NET with Microsoft SQL Server?
18,76,764
1949455 Asked
3,689
Active Tutors
1453728
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!