title: How to add Generic List to Redis via StackExchange.Redis?
body: <p>For example, if I have a model called Customer</p>
  
  <pre><code>public class Customer
      {
          public string FirstName { get; set; }
          public string LastName { get; set; }
          public string Address1 { get; set; }
          public string City { get; set; }
          public string State { get; set; }
      }
  </code></pre>
  
  <p>Example:</p>
  
  <pre><code>var customers = new List&lt;Customer&gt;();
  </code></pre>
  
  <p>How would I added a List of Customer?  How would I do this?</p>
  
  <pre><code> using (var redis = ConnectionMultiplexer.Connect(this.redisServer))
              {
                  var db = redis.GetDatabase();
  
                  db.SetAdd(key, ?????);
  }
  </code></pre>
  
  <p>I think SetAdd is the right method, but I can't see how to get my generic list of Customer (i.e. List into the format of RedisValue.</p>