Implement an n-way set associative cache with support for

LRU and MRU in C#