title: How to use linq to print variable from object in comma separated?
body: <p>I have a list like below which has some data in it. <code>Client</code> class has <code>clientId</code> variable in it.</p>
  <pre><code>var clients = new List&lt;Client&gt;();
  </code></pre>
  <p>I want to print all those <code>clientIds</code> from <code>clients</code> object using linq efficiently. Basically I want it to be logged like this in comma separated way where each of those numbers are <code>clientId</code>:</p>
  <pre><code>1,2,3,4,5
  </code></pre>
  <p>How can I use linq in my below log?</p>
  <pre><code>Console.WriteLine($&quot;All clientIds &quot;);
  </code></pre>