Amazing that I still find BCL classes every day in .NET to do simple tasks. I had a feeling that something may exist but didn’t expect to find it in the System.Configuration namespace.
CommaDelimitedStringCollection strings = new CommaDelimitedStringCollection();
foreach(string item in myOtherCollection)
//Spit out your comma separated string
string output = strings.ToString();
This is really quite interesting. A lot of stuff that’s well known, but a good resource to go back to when you’re designing a new system. There’s probably not a system I’ve ever seen that doesn’t exhibit at least one of these in some minor way…
Some amusement today as I was trying to set up hibernation on my Windows XP box at work. I was getting a strange error about ‘not enough system resources to complete API’. After a bit of mucking around I realised I’d actually encountered this very same error a while ago.
I actually used my own blog to fix a problem I’d had before and completely forgot about.