blog post image
Andrew Lock avatar

Andrew Lock

Series: Creating a Simple Moving Average calculator in C#

In this short series I describe how I created a Simple Moving Average (SMA) calculator in C# for a project at work. I start by describing the SMA concept, and build out a simple implementation. In the second post I describe how to make the implementation thread-safe, and in the final post, I show the final implementation used to keep track of the drop-rate for distributed traces.

Andrew Lock | .Net Escapades
Want an email when
there's new posts?