How can we implement static methods in interface...?
public interface ICache
{
//Get item from cache
static object Get(string pName);
//Check an item exist in cache
static bool Contains(string pName);
//Add an item to cache
static void Add(string pName, object pValue);
//Remove an item from cache
static void Remove(string pName);
}
The above interface throws error: The modifier 'static' is not valid for this item