I have a list of objects that implement ToString(). I need to convert the whole list to one string in one line. How can I do that?
I have a list of objects that implement ToString() . I need to convert
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Another method that may help out is
string.Join(), which takes a set of objects and will join them with any delimiter you want. For instance:will make a string that is comma/space separated.