Tag Archives: string.join

Putting a separator between your elements

Often when I’m programming, I’ll need to list a bunch of stuff and put commas between them. Like this: 1,2,3,4,5 Usually, this is what I, and most of my colleagues do: List nums = new List(); for (int i = … Continue reading

Posted in Programming | Tagged , , , | 1 Comment