why does try trim strings list<string> seem work?
i attempted following formula linqpad got law given below:
list<string> listfromsplit = new list<string>("a, b".split(",".tochararray())).dump();
listfromsplit.foreach(delegate(string s)
{
s.trim();
});
listfromsplit.dump();
"a" " b"
so minute b didn't white-space private i expecting...?
anyone have any ideas
[note: .dump() slight an progression menthod linqpad prints out essence any vigilant good skilfully formatted way]
Comments
Post a Comment