Adam K Dean

Posts in archive

Indexers - make your classes act like arrays

Published 4 September 2010 in archive with tags csharp , hashtable , indexers Indexers are great, I've only really started using them consciously today, but they're a great discovery I'll be sure to incorporate into more of my code from now on. Continue reading …

XML to Hashtable

Published 3 September 2010 in archive with tags xml , hashtable , csharp XML is often used nowadays for many things, mainly due to it being so flexible, lightweight and easy to understand for humans. From configuration files to layouts, they all seem to be using it. With all the methods inside System.Xml you have everything you could ever need, unless of course you are, like me, addicted to generic lists and hashtables... Continue reading …

Remove annoying beep from pressing enter in textbox

Published 31 August 2010 in archive with tags csharp , winforms And there you have it. Very easy, very simple and very very useful. Continue reading …

Readable File Sizes

Published 29 August 2010 in archive with tags csharp In an effort to fill up this blog with code, I will over the next few weeks be looking back over my snippets, finding useful methods and posting them. Today's feature is a simple text formatter, which converts a long (representing bytes) into a string, giving you a nice readable file size. Continue reading …

Blogger icons

Published 29 August 2010 in archive with tags blogger , favicon One thing that strikes me about blogger, or the many bloggers that use it, is that I've never come across a blog that hasn't used the default blogger favicon. Now some people might not care too much, how important can a little 16x16 icon really be? Continue reading …



Newer Page 40 of 41 Older