KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I read today, in c# strings are immutable, like once created they cant be changed, so how come below code works string str="a"; str +="b"; str +="c"; str +="d"; str +="e"; console.write(str) //output: abcde How come the value of variable changed??
Tags (comma-separated)
Save Edits
Cancel