Tag Archives: c#

Abstract Class vs. Interface and when to Use Both

Greetings to my blog readers! I have recently come across a puzzling code example in one book. Here is a snapshot of the code: Can you see why I was puzzled? The web is full of advice for when to … Continue reading

Posted in C# Programming | Tagged

Are Equals and == equal?

Hello! In C# all types can be split into reference and value types. This implies that there is a need for two different types of equality comparison mechanisms. Value and referential equality exist to allow us compare value and reference … Continue reading

Posted in C# Programming | Tagged

Generic Delegates

Greetings to my blog readers! I have previously covered delegates and events, but I’ve decided to go over the concept of delegates in C# once more. In addition, this time I will mention generic delegates. So, let’s refresh – what … Continue reading

Posted in C# Programming | Tagged

Linear and Cubic Spline Interpolation

In this post on numerical methods I will share with you the theoretical background and the implementation of the two types of interpolations: linear and natural cubic spline. These interpolations are often used within the financial industry. For example, discount … Continue reading

Posted in Numerical Analysis | Tagged , | 1 Comment

Boxed Value Types and Interfaces

Greetings! The first programming language I could claim to be proficient at was C. Then, it was C++. Thus I would say that I am a ‘low-level’ programmer at heart, and I like to think about efficient memory consumption. What … Continue reading

Posted in C# Programming | Tagged