Monthly Archives: March 2015

Nullable Types

In C# a value of null can be assigned to reference types, or more specifically to nullable types. When a reference is set to null it means it is not pointing to any object. A value of null is perfectly … Continue reading

Posted in C# Programming | Tagged

Delegates and Actions

In one of my older blogs I have written a short tutorial on delegates and events. I wrote the blog after reviewing the concepts of delegates and events and wanted to create a hopefully simplified version of the material for … Continue reading

Posted in C# Programming | Tagged

Inline Initialization

I must admit that I was rather surprised when I learnt that inline initialization translates into the default constructor-based initialization in the IL. So, for example, these two pieces of code are equivalent: is the same as The above can … Continue reading

Posted in C# Programming | Tagged | 5 Comments

Not So Readonly

Greetings to all my blog readers! In C# the readonly keyword can be very handy. It allows one to define fields that are assigned at the point of instance creation (in the instance constructor), or inline, at the point of … Continue reading

Posted in C# Programming | Tagged

Decision Tree Classifier – Part 1

To continue my blogging on machine learning (ML) classifiers, I am turning to decision trees. The post on decision trees will be in two parts. Part 1 will provide an introduction to how decision trees work and how they are … Continue reading

Posted in Machine Learning, Numerical Analysis | Tagged ,