using StackExchange.Redis;
// ...
// connect to the server
ConnectionMultiplexer connection = ConnectionMultiplexer.Connect("localhost");
// select a database (by default, DB = 0)
IDatabase db = connection.GetDatabase();
// run a command, in this case a GET
RedisValue myVal ...