Recent Posts

Fun with initialisers

C# has had object and collection initialisers since C# 3.0, but all the docs and blogs I’ve ever seen only cover the basics. We’ve all seen examples like these:

Welcome to my new home

My first foray into blogging was 8 years ago, in 2010, when I was learning C# and .Net for the first time.  At the time I decided to blog about what I was learning as a way to help make things stick. Not only was I learning a new language and platform, but, as a result of my own personal “Hit Refresh” moment, I was learning a new discipline as I changed gears in my career from IT operations to software engineering.

A cheat sheet for … jQuery ?

And now for something completely different … a man with three buttocks! Okay, so maybe not THAT different. It’s not C# or .Net, though. It is, however, something that many ASP.Net developers will run across - jQuery. Long story short - I’ve created a new jQuery cheat sheet in two versions (A4 and Letter). If you want the long story, read on.  If you don’t then just grab your copy and let me know if you find it helpful.

The code so far…

For anybody who’s actually been reading and is interested I’ve uploaded a ZIP file containing the Visual Studio project with all the code from the blog so far.  I’ll aim to keep it up to date with future code on a semi-regular basis.

Exercise 6 (part 3) – Delegates and Class Inheritance

So, back to my RPN calculator implementation.  Bear in mind that I wrote this code over six months ago, and I’ve learned a lot since then.  If I was to do it again now I may make different design decisions, but for the moment I’ll stick with the original code.  Let’s see what we can learn.

Yes, I’m still here….

So, you may have noticed that it’s been about 6 months since my last post.  I’ve been a little busy.  I’ve also been learning heaps.

Exercise 6 (part 2) – When is a class not a class?

It’s been a while, but I’ve finally found some time to post again.  In my last post I showed the basic structure of a DLL for the engine of an RPN Calculator in response to Prashant’s 6th exercise. In this post I’ll start to look at the details.

Exercise 6 (part 1) – Multi-file DLL project

For his 6th exercise, Prashant suggests writing a Scientific calculator supporting addition, subtraction, multiplication, division, square-root, square, cube, sin, cos, tan, Factorial, inverse, modulus. In planning my solution to this exercise, I thought it would be cool to write a DLL (a Class Library in .NET parlance) to be the core engine of the calculator, and then write a console-based front-end.  Later, when I’m learning WPF I can write a graphical front-end to the same DLL.