Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7876107
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T03:07:02+00:00 2026-06-03T03:07:02+00:00

There are a lot of questions/answers about conversion from generic IEnumerable to a string.

  • 0

There are a lot of questions/answers about conversion from generic IEnumerable to a string.

But I need a conversion from a non-generic IEnumerable to a string. The result string should be in form of
element1.ToString() + ", " + element2.ToString() + ", " + element3.ToString() + ...
Is there a shorter way than using StringBuilder and looping through the elements by MoveNext()?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T03:07:03+00:00Added an answer on June 3, 2026 at 3:07 am

    You can still use LINQ:

    String.Join(", ", thingy.Cast<object>());
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There's a lot of questions about bookmarks but none of them answers my question:
There are a lot of questions about didRegisterForRemoteNotificationsWithDeviceToken but they all sidestep a very
There are a lot of questions on Stackoverflow about curl but I could not
I know that there are a lot of questions and answers exactly about this
I've seen a lot of questions and answers on SO about why I should
There are a lot of questions about binding future manipulations to non-existent elements that
Yes, I know. There are a lot of questions and answers about the NSOperation
There are a lot of questions similar to this but none dealing with webforms
There are a lot of questions about formatting forms so that labels align, and
There are a lot of questions about matplotlib, pylab, pyplot, ipython, so I'm sorry

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.