Implementation of Circular Buffer data structure on C# .Net 4.0