STRING CLASS IN C#
WHEN TO USE STRING CLASSSES IN C# LANGUAGE?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Dhaval PatelRank #1,023 · 1.9K reputationPosted Oct 17, 2011, 3:09 AM EDT
if you want to more details then click below link.
http://www.c-sharpcorner.com/Blogs/7143/string-functions-in-Asp-Net.aspx
VulpesRank #55 · 29.2K reputationPosted Oct 16, 2011, 11:57 PM EDT
VulpesRank #55 · 29.2K reputationPosted Oct 17, 2011, 6:55 AM EDT
This is because strings are immutable - once you've created them they can't be changed.
If you want a mutable string, then use a char array (fixed length) or a StringBuilder (variable length) instead. These can then be converted to a string when you've completed the operations.