Category Archives: C#

Cedric’s Coding challenge

I noticed Cedric’s Coding challenge while reading Robert Fisher’s blog. Here is an interesting coding challenge: write a counter function that counts from 1 to max but only returns numbers whose digits don’t repeat. For example, part of the output … Continue reading

Posted in .Net, C#, Programming | 4 Comments

Finding reference .dll’s

I am currently upgrading our build process from .bat files to CruiseControl.Net projects.  Mostly C++ projects but a few VB and one C#. The C# project has a reference to NUnit.Framework.dll, and every thing worked well on the developer machines … Continue reading

Posted in .Net, C# | Leave a comment

Pascal 6-byte real to IEEE 8-byte double

A while ago I mentioned that System.BitConverter.Int64BitsToDouble would be useful for converting Pascal 6-byte real’s to IEEE 8-byte double’s.  Here is my C# .Net code to do just that. My original code was based on Richard Biffl’s BPREAL.C.  My original … Continue reading

Posted in .Net, C#, Programming | Leave a comment

Compiling and Running code at runtime

I have wanted to know how to compile and run code at runtime for a long time. I have now got a working solution, so it’s time to share.  I might even learn a better way. So here is the … Continue reading

Posted in .Net, C#, Programming | 7 Comments

Boot Camp Puzzle released

Peter announced the Boot Camp puzzle Dave and I worked on. The main prize is a Microsoft Zune, I wonder what colour it is? I can’t compete of course, but I have started a mine’s faster than yours thread on the … Continue reading

Posted in .Net, .Net User Group, C#, Code Camp | Leave a comment