Skip to content

SpaceTech

Exploration of Information, Communication and Technology

  • Home
  • Resx Builder
  • About
  • LinkedIn
  • Github

Convert a list or array to string in C#

February 2, 2021June 2, 2021 Bjarne

You need to use the string.Join to go through the list to actually get their values.

Console.WriteLine(string.Join(", ", list));

Source: https://docs.microsoft.com/en-us/dotnet/api/system.string.join

Posted in TechnologyTagged Tips and Tricks, Windows

About

Hey! Engineer here. This is my engineering diary. I enjoy creating things, whether that be websites, plugins, mobile apps. I'm currently playing around in an engineering department where I work on a wide variety of interesting and meaningful projects on a daily basis. You’re welcome to connect and say hey on LinkedIn. Enjoy!


  • xn--https-hw3b Xbox Cloud Gaming on Steam Deck
  • Should you use Saxo Bank or Nordnet
  • How to fix Locust can’t reach 0.0.0.0
  • SaxoTrader different between market and limit type
  • How to fix Cannot deserialize instance of java.lang.String out of START_OBJECT token

Copyright ©SpaceTech

Clean Theme by WPVKP