title: Select column based on variable in LINQ to SQL
body: <p>I'm using LINQ to SQL in C# in my application. I need to be able to select a column of a row, depending upon a variable. This is easy for the row as it's a simple where clause, but I'm at a loss with only selecting a specific column. Here is my code so far:</p>
  
  <pre><code>var permissions = (from s in dc.Permissions where s.dashboardname == permission select s.[variablehere]).Single();
  </code></pre>
  
  <p>Is this easy to accomplish?</p>