Tutorials

When writing software for the commercial world it is crucial your application can log errors, be it to the database, or to a text file, or even to the Windows Event Log if necessary. The .NET Framework contains a mechanism called a Trace Listener. This Listener is an object which directs the trace output to [...]

{ 21 comments }

What is an Overloaded Method?

by Dave on September 2, 2009

in Tutorials

Sometimes when programming, you might want to create a number of methods which internally have similar logic but accept different parameters. For example, an addition method called AddNumbers which, erm… adds numbers together, might accept two parameters of type int. But what if you want to add long values, or double values? You could create [...]

{ 0 comments }

Hello World Tutorial

by Dave on June 18, 2009

in Tutorials

Since this is my first actual post, I thought I should start at the very beginning – with a traditional ‘Hello World’ example. During these examples I am going to be using Microsoft Visual Studio 2008 to write and compile my C# code. If you do not have Visual Studio installed on your pc, you [...]

{ 0 comments }