Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

string stringbuilder c#

string s="hi";
    //now let s be address 1000
    s+=" there"; 
    //above concatination causes creation of new instance in address location other than 1000
    //with modified value "hi there"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #string #stringbuilder
ADD COMMENT
Topic
Name
5+5 =