Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 112 Bytes

forgetting-that-strings-are-immutable.md

File metadata and controls

8 lines (5 loc) · 112 Bytes

string = "Take this out";
s.Replace("this", "that"); //wrong

s = s.Replace("this", "that"); //correct