title: Create key for cache
body: <p>I want to write method which generates key for cache object.
  This is my function:</p>
  
  <pre><code>public static string GenerateKeyForCache(string jobName, params object[] keys )
          {
              var generatedKey = keys.Aggregate(string.Empty, (current, key) =&gt; current + (key + "-"));
              return jobName + "-" + new string(generatedKey.Take(generatedKey.Length - 1).ToArray());
          }
  </code></pre>
  
  <p>This code generated key for cache, for example we have the following call:</p>
  
  <pre><code>CacheUtils.GenerateKeyForCache("JobName", "1","2","3");
  </code></pre>
  
  <p>The method is generated the following key: <code>"JobName-1-2-3"</code>.</p>
  
  <p>What is best approach to do this?</p>