Archive for the 'Visual Basic .NET' Category

Project Euler

I’ve been quiet lately. That’s because I have a new addiction, an addiction to number problems and elegant programming solutions to them. Behold Project Euler. A suite of nearly 200 numeric problems suitable for solving via programs. So far I’ve solved 19 of them, and I’ll probably keep banging away at them in every spare [...]

The Observer design pattern in .NET, part 2

This is part 2 in a series about the Observer design pattern in .NET. In part one, we saw how to implement the pattern using the “classical” approach. In this part, we’ll see how to implement the Observer design pattern “the .NET way” using events. The use of .NET events allows us to reduce the [...]

The Observer design pattern in .NET, part 1

Today we’ll implement the “classic” Observer design pattern in VB .NET. This is part 1 of a 3 part series; part 2 will discuss transitioning the design pattern to .NET events, and part 3 will discuss some uses of the Observer pattern built into .NET. You can download the Observer design pattern example if you [...]