原文地址:http://www.360doc.com/content/14/0704/13/15643_391950317.shtml
static void HashTypeDemo(RedisClient redisClient)
{
redisClient.SetEntryInHash("user", "userinfo", "cool boy");
redisClient.SetEntryInHash("user", "useraccount", "5000");
List<string> keyList = redisClient.GetHashKeys("user");
foreach (string key in keyList)
{
Console.WriteLine(key);
string value = redisClient.GetValueFromHash("user", key);
Console.WriteLine("user:{0}:{1}", key, value);
}
}