# C1.DataCollection.C1DynamicList-1.FindIndex

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_DataCollection_C1DynamicList_1_FindIndex_" data-uid="C1.DataCollection.C1DynamicList`1.FindIndex*">FindIndex Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_DataCollection_C1DynamicList_1_FindIndex_" data-uid="C1.DataCollection.C1DynamicList`1.FindIndex*"></a>
<h4 id="C1_DataCollection_C1DynamicList_1_FindIndex_System_Int32_System_Int32_System_Predicate__0__" data-uid="C1.DataCollection.C1DynamicList`1.FindIndex(System.Int32,System.Int32,System.Predicate{`0})">FindIndex(int, int, Predicate&lt;T?&gt;)</h4>
<div class="markdown level1 summary"><p>Searches for an element that matches the conditions defined by the specified
predicate, and returns the zero-based index of the first occurrence within the
range of elements in the System.Collections.Generic.List`1 that starts at the
specified index and contains the specified number of elements.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int FindIndex(int startIndex, int count, Predicate&lt;T?&gt; match)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function FindIndex(startIndex As Integer, count As Integer, match As Predicate(Of T)) As Integer</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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">startIndex</span></td>
      <td><p>The zero-based starting index of the search.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">count</span></td>
      <td><p>The number of elements in the section to search.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.predicate-1">Predicate</a>&lt;T&gt;</td>
      <td><span class="parametername">match</span></td>
      <td><p>The System.Predicate`1 delegate that defines the conditions of the element to search for.</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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
