# GrapeCity.ActiveReports.Rendering.Tools.EnumerableExtension.Range

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Rendering_Tools_EnumerableExtension_Range_" data-uid="GrapeCity.ActiveReports.Rendering.Tools.EnumerableExtension.Range*">Range Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Rendering_Tools_EnumerableExtension_Range_" data-uid="GrapeCity.ActiveReports.Rendering.Tools.EnumerableExtension.Range*"></a>
<h4 id="GrapeCity_ActiveReports_Rendering_Tools_EnumerableExtension_Range__1_System_Collections_Generic_IList___0__System_Int32_System_Int32_" data-uid="GrapeCity.ActiveReports.Rendering.Tools.EnumerableExtension.Range``1(System.Collections.Generic.IList{``0},System.Int32,System.Int32)">Range&lt;T&gt;(IList&lt;T&gt;, int, int)</h4>
<div class="markdown level1 summary"><p>Returns a range of elements from the list starting at the specified index.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T&gt; Range&lt;T&gt;(this IList&lt;T&gt; list, int startIndex, int count)</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.collections.generic.ilist-1">IList</a>&lt;T&gt;</td>
      <td><span class="parametername">list</span></td>
      <td><p>The list from which to retrieve elements.</p>
</td>
    </tr>
    <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 range.</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 to retrieve.</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.collections.generic.ienumerable-1">IEnumerable</a>&lt;T&gt;</td>
      <td><p>A sequence of elements from the list.</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">T</span></td>
      <td><p>The type of elements in the list.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
