Tag: separator
Putting a separator between your elements
April 16, 2009 00:00
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<int> nums = new List<int>();
for (int i = 0; i < 5; i++)
{
...
Read post