16,004,564 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Erich Ledesma (Top 5 by date)
Erich Ledesma
6-Jul-11 14:55pm
View
Deleted
Separator is a string, so it's already "escaped". string.Join does work with char.
Thanx for the comment
Erich Ledesma
4-Jul-11 16:46pm
View
Deleted
Reason for my vote of 1
As Piebald says: The lock is wrong, and that return null statement will prevent from returning the right instance. Your method would return the right value just once. Sorry mate, but you're spending everyone's time, you should pay attention to what people take the time to write to you.
Erich Ledesma
28-Jun-11 8:57am
View
Deleted
Thanx mate. The idea is always trying to make it as simple as posible. And never doing something for no reasson, meaning you might need to undo it latter.
Erich Ledesma
28-Jun-11 8:45am
View
Deleted
I agree, it could be generic, and would be usefull. But in most cases you won't need it, and it wouldn't be clear a Join() for something else. In those cases, if you need to join strings for other object types. You could always use a Select() first to convert to string, then join them.
The point is. Is just a matter of taste. I like it this way, but that just me.
Erich Ledesma
9-Jun-11 4:27am
View
It won't. You're right. Didn't see the tag. Thanx. I'm removing the solution....