# C1.LiveLinq.IndexedQueryExtensions.Select

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_LiveLinq_IndexedQueryExtensions_Select_" data-uid="C1.LiveLinq.IndexedQueryExtensions.Select*">Select Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_LiveLinq_IndexedQueryExtensions_Select_" data-uid="C1.LiveLinq.IndexedQueryExtensions.Select*"></a>
<h4 id="C1_LiveLinq_IndexedQueryExtensions_Select__2_C1_LiveLinq_Indexing_IIndexedSource___0__System_Linq_Expressions_Expression_System_Func___0___1___" data-uid="C1.LiveLinq.IndexedQueryExtensions.Select``2(C1.LiveLinq.Indexing.IIndexedSource{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}})">Select&lt;TSource, TResult&gt;(IIndexedSource&lt;TSource&gt;, Expression&lt;Func&lt;TSource, TResult&gt;&gt;)</h4>
<div class="markdown level1 summary"><p>Projects each element of a collection into a new form.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static IIndexedSource&lt;TResult&gt; Select&lt;TSource, TResult&gt;(this IIndexedSource&lt;TSource&gt; source, Expression&lt;Func&lt;TSource, TResult&gt;&gt; selector)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function [Select](Of TSource, TResult)(source As IIndexedSource(Of TSource), selector As Expression(Of Func(Of TSource, TResult))) As IIndexedSource(Of TResult)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.LiveLinq.Indexing.IIndexedSource-1.html">IIndexedSource</a>&lt;TSource&gt;</td>
      <td><span class="parametername">source</span></td>
      <td><p>An <a class="xref" href="C1.LiveLinq.Indexing.IIndexedSource-1.html">IIndexedSource&lt;TSource&gt;</a> collection of values to invoke a transform function on.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.linq.expressions.expression-1">Expression</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a>&lt;TSource, TResult&gt;&gt;</td>
      <td><span class="parametername">selector</span></td>
      <td><p>A transform function to apply to each element.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.LiveLinq.Indexing.IIndexedSource-1.html">IIndexedSource</a>&lt;TResult&gt;</td>
      <td><p>An <a class="xref" href="C1.LiveLinq.Indexing.IIndexedSource-1.html">IIndexedSource&lt;TResult&gt;</a> whose elements are the result of invoking the transform function on each element of <i>source</i>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="parametername">TSource</span></td>
      <td><p>The type of the elements of <i>source</i>.</p>
</td>
    </tr>
    <tr>
      <td><span class="parametername">TResult</span></td>
      <td><p>The type of the value returned by <i>selector</i>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
