async static Task Test2Async() { var RedisClient = new RedisClientAsync(); await RedisClient.Connect("localhost", 6379); Console.WriteLine((await RedisClient.Command("set", "hello-csharp", "999")).ToJson()); Console.WriteLine((await RedisClient.Command("get", "hello-csharp")).ToJson()); }