Category Archives: Utility

Sorting for an ObservableCollection

I am porting my Live Countdown app to Windows 8 in order to help my learn Windows 8 and to spread the goodness to more people 🙂 However one problem I had was sorting an ObservableCollection without causing it to … Continue reading

Posted in Utility, windows8 | Tagged , , , | Leave a comment

Getting Bit Information for a Number in CSharp

This is a class I wrote to help someone out on the MSDN forums.  It returns information about the bits set in a number. The numbers returned are zero based indexes from the least significant bit to the most significant … Continue reading

Posted in Utility | Leave a comment

Unit Conversion

Another recent answer on an MSDN forum question I wrote required a code based answer that I thought would be a handy reusable snippet. So here it is: If you need to convert between different units on length/weight/volume/area, here is … Continue reading

Posted in Utility | Tagged | Leave a comment

Getting file path with capitals included 2

I previously posted a class that would get a files path including the correct capitals. I have since found a better way to do this by using the shell functions in Windows. I didnt create this method, I FOUND it. … Continue reading

Posted in Uncategorized, Utility | Leave a comment

Getting a files path with capitals included

Came across a post on the Microsoft forum which was looking to find out whether there was a way to get the Path of a file or folder on disk including all the capital letters. Incase you didnt know, the … Continue reading

Posted in Uncategorized, Utility | Tagged , | 1 Comment