Click here to Skip to main content
15,917,541 members

Comments by samitrpatel (Top 4 by date)

samitrpatel 13-Apr-15 7:55am View    
always welcome.
samitrpatel 13-Apr-15 6:09am View    
You should use string.Join() because:

1) it's much more readable, maintainable and easy on the eyes.

2) it uses a StringBuilder internally already, so it's very efficient ( you can confirm yourself using Reflector).

string.Join() uses a StringBuilder for the general case of an IEnumerable<t> input. If you already have an array on the other hand it uses some voodoo magic (including FastAllocateString() and UnSafeCharBuffer) to be even faster.
samitrpatel 13-Apr-15 4:38am View    
agree with Kornfeld Eliyahu Peter
samitrpatel 31-Mar-15 8:52am View    
please dude there is a wrong solution it is use for ftp not for sftp my dear friend.