-
Archives
Recent Comments
- roman on How to decode the Nikon DSLR firmware
- Simeon on How to decode the Nikon DSLR firmware
- Barry on How to decode the Nikon DSLR firmware
- Simeon on Expectation Stress
- Rand Thompson on Expectation Stress
Category Archives: C#
TimeDirection graph
A work college was wanting some trivial code to draw a time based direction plot, and insisted that I do it. So here is my drawing class: And given the input: Looks like this: This code is released under the … Continue reading
Posted in C#, Programming
1 Comment
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
Comments Off
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
12 Comments