Skip to content

SpaceTech

Exploration of Information, Communication and Technology

  • Home
  • Blog
  • Projects
    • 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! I'm an engineer from Denmark. 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.


  • How to fix Localdb MSSQLLocalDB trigger execution
  • How To Fix Azure Data Factory 403 Forbidden SharePoint Site
  • Here are the basics of System Modeling And Simulation
  • How to install AnyLogic Simulation Software
  • COMPILATION ERROR package javax.xml.soap does not exist

Copyright ©SpaceTech

Clean Theme by WPVKP