Genius Sports interview question

Implement a memory cache in C#