Task: Implement a Thread-Safe MemoryCache Service in C
Task: Implement a Thread-Safe MemoryCache Service in C: a task in Terminal-Lego-15k (Harbor dataset). You need to implement a thread-safe MemoryCacheService in C that wraps System.Runtime.Caching.MemoryCache and ensures correct behavior under concurrent access from multiple threads.
The task
You need to implement a thread-safe `MemoryCacheService` in C# that wraps `System.Runtime.Caching.MemoryCache` and ensures correct behavior under concurrent access from multiple threads.
Part of PrimeIntellect/Terminal-Lego-15k.