There are two ways to create new copies of an existing string in C#:
1. Using overloaded = operator like - string s2 = s1;
2. Using the static Copy method like - string s2 = string.Copy(s1);
In how many ways you can create new copies of an existing string in C#?
Posted by
Rajesh Rolen
at
Thursday, September 10, 2009
0 comments:
Post a Comment