Skip to content

Codepolice

  • ⤫

Posts tagged pro asp net mvc 5 platform

Create a comma separated list with LINQ in C#

For some reason I always forget that you do not do .Join on your actual string array. So i might as well write it down here so i never forget about this again. string mycommalist = string.Join(“,”, alternatives.Select(x=>x.Item.Name).ToArray())

Posted by Judy Alvarez Posted on February 28, 2022March 3, 2022
0
Codepolice

  • Github
  • Atlassian
  • Flatlogic
  • Xero
  • Jetbrains
  • Figma
  • Babel 8 RC Arrives, Gatsby Lives, Lodash Resets
  • A smoother way to ship Node apps
  • What’s next for JavaScript frameworks in 2026
  • require(esm) now stable in Node 25
  • A big week for jQuery
https://flatlogic.com/generator
COPYRIGHT © 2026 - Codepolice