The RingBuffer Library for .Net implements a fixed-size ring buffer, including a thread-safe version.