# C1.DataCollection.C1DelegateList-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_DataCollection_C1DelegateList_1" data-uid="C1.DataCollection.C1DelegateList`1" class="text-break">C1DelegateList&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Exposes an IList created dynamically by specifying a count and a selector which provide the items</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">C1DelegateList&lt;T&gt;</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;T&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;T&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1">IReadOnlyList</a>&lt;T&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;T&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;T&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.DataCollection.html">C1.DataCollection</a></h6>
  <h6><strong>Assembly</strong>: C1.DataCollection.dll</h6>
  <h5 id="C1_DataCollection_C1DelegateList_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1DelegateList&lt;T&gt; : IList, ICollection, IList&lt;T&gt;, ICollection&lt;T&gt;, IReadOnlyList&lt;T&gt;, IReadOnlyCollection&lt;T&gt;, IEnumerable&lt;T&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1DelegateList(Of T)
    Implements IList, ICollection, IList(Of T), ICollection(Of T), IReadOnlyList(Of T), IReadOnlyCollection(Of T), IEnumerable(Of T), IEnumerable</code></pre>
  </div>
  <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></td>
      </tr>
    </tbody>
  </table>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1__ctor_System_Collections_Generic_IReadOnlyList__0__" data-uid="C1.DataCollection.C1DelegateList`1.#ctor(System.Collections.Generic.IReadOnlyList{`0})">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.-ctor.html#C1_DataCollection_C1DelegateList_1__ctor_System_Collections_Generic_IReadOnlyList__0__">C1DelegateList(IReadOnlyList&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.DataCollection.C1DelegateList-1.html">C1DelegateList&lt;T&gt;</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1__ctor_System_Collections_IList_" data-uid="C1.DataCollection.C1DelegateList`1.#ctor(System.Collections.IList)">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.-ctor.html#C1_DataCollection_C1DelegateList_1__ctor_System_Collections_IList_">C1DelegateList(IList)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.DataCollection.C1DelegateList-1.html">C1DelegateList&lt;T&gt;</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1__ctor_System_Func_System_Int32__System_Func_System_Int32__0__" data-uid="C1.DataCollection.C1DelegateList`1.#ctor(System.Func{System.Int32},System.Func{System.Int32,`0})">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.-ctor.html#C1_DataCollection_C1DelegateList_1__ctor_System_Func_System_Int32__System_Func_System_Int32__0__">C1DelegateList(Func&lt;int&gt;, Func&lt;int, T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.DataCollection.C1DelegateList-1.html">C1DelegateList&lt;T&gt;</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1__ctor_System_Int32_System_Func_System_Int32__0__" data-uid="C1.DataCollection.C1DelegateList`1.#ctor(System.Int32,System.Func{System.Int32,`0})">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.-ctor.html#C1_DataCollection_C1DelegateList_1__ctor_System_Int32_System_Func_System_Int32__0__">C1DelegateList(int, Func&lt;int, T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.DataCollection.C1DelegateList-1.html">C1DelegateList&lt;T&gt;</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1_Count" data-uid="C1.DataCollection.C1DelegateList`1.Count">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.Count.html#C1_DataCollection_C1DelegateList_1_Count">Count</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1_IsFixedSize" data-uid="C1.DataCollection.C1DelegateList`1.IsFixedSize">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.IsFixedSize.html#C1_DataCollection_C1DelegateList_1_IsFixedSize">IsFixedSize</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1_IsReadOnly" data-uid="C1.DataCollection.C1DelegateList`1.IsReadOnly">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.IsReadOnly.html#C1_DataCollection_C1DelegateList_1_IsReadOnly">IsReadOnly</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1_IsSynchronized" data-uid="C1.DataCollection.C1DelegateList`1.IsSynchronized">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.IsSynchronized.html#C1_DataCollection_C1DelegateList_1_IsSynchronized">IsSynchronized</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1_Item_System_Int32_" data-uid="C1.DataCollection.C1DelegateList`1.Item(System.Int32)">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.Item.html#C1_DataCollection_C1DelegateList_1_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1_SyncRoot" data-uid="C1.DataCollection.C1DelegateList`1.SyncRoot">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.SyncRoot.html#C1_DataCollection_C1DelegateList_1_SyncRoot">SyncRoot</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1_Add_System_Object_" data-uid="C1.DataCollection.C1DelegateList`1.Add(System.Object)">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.Add.html#C1_DataCollection_C1DelegateList_1_Add_System_Object_">Add(object?)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1_Add__0_" data-uid="C1.DataCollection.C1DelegateList`1.Add(`0)">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.Add.html#C1_DataCollection_C1DelegateList_1_Add__0_">Add(T)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1_Clear" data-uid="C1.DataCollection.C1DelegateList`1.Clear">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.Clear.html#C1_DataCollection_C1DelegateList_1_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1_Contains_System_Object_" data-uid="C1.DataCollection.C1DelegateList`1.Contains(System.Object)">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.Contains.html#C1_DataCollection_C1DelegateList_1_Contains_System_Object_">Contains(object?)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1_Contains__0_" data-uid="C1.DataCollection.C1DelegateList`1.Contains(`0)">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.Contains.html#C1_DataCollection_C1DelegateList_1_Contains__0_">Contains(T)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1_CopyTo_System_Array_System_Int32_" data-uid="C1.DataCollection.C1DelegateList`1.CopyTo(System.Array,System.Int32)">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.CopyTo.html#C1_DataCollection_C1DelegateList_1_CopyTo_System_Array_System_Int32_">CopyTo(Array, int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1_CopyTo__0___System_Int32_" data-uid="C1.DataCollection.C1DelegateList`1.CopyTo(`0[],System.Int32)">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.CopyTo.html#C1_DataCollection_C1DelegateList_1_CopyTo__0___System_Int32_">CopyTo(T[], int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1_GetEnumerator" data-uid="C1.DataCollection.C1DelegateList`1.GetEnumerator">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.GetEnumerator.html#C1_DataCollection_C1DelegateList_1_GetEnumerator">GetEnumerator()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1_IndexOf_System_Object_" data-uid="C1.DataCollection.C1DelegateList`1.IndexOf(System.Object)">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.IndexOf.html#C1_DataCollection_C1DelegateList_1_IndexOf_System_Object_">IndexOf(object?)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1_IndexOf__0_" data-uid="C1.DataCollection.C1DelegateList`1.IndexOf(`0)">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.IndexOf.html#C1_DataCollection_C1DelegateList_1_IndexOf__0_">IndexOf(T)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1_Insert_System_Int32_System_Object_" data-uid="C1.DataCollection.C1DelegateList`1.Insert(System.Int32,System.Object)">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.Insert.html#C1_DataCollection_C1DelegateList_1_Insert_System_Int32_System_Object_">Insert(int, object?)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1_Insert_System_Int32__0_" data-uid="C1.DataCollection.C1DelegateList`1.Insert(System.Int32,`0)">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.Insert.html#C1_DataCollection_C1DelegateList_1_Insert_System_Int32__0_">Insert(int, T)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1_Remove_System_Object_" data-uid="C1.DataCollection.C1DelegateList`1.Remove(System.Object)">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.Remove.html#C1_DataCollection_C1DelegateList_1_Remove_System_Object_">Remove(object?)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1_Remove__0_" data-uid="C1.DataCollection.C1DelegateList`1.Remove(`0)">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.Remove.html#C1_DataCollection_C1DelegateList_1_Remove__0_">Remove(T)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_DataCollection_C1DelegateList_1_RemoveAt_System_Int32_" data-uid="C1.DataCollection.C1DelegateList`1.RemoveAt(System.Int32)">
          <a class="xref" href="C1.DataCollection.C1DelegateList-1.RemoveAt.html#C1_DataCollection_C1DelegateList_1_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="C1.DataCollection.IDataCollectionEx.AsDataCollection.html#C1_DataCollection_IDataCollectionEx_AsDataCollection__1_System_Collections_IEnumerable_">IDataCollectionEx.AsDataCollection&lt;T&gt;(IEnumerable)</a>
  </div>
  <div>
      <a class="xref" href="C1.DataCollection.IDataCollectionEx.ToDataCollection.html#C1_DataCollection_IDataCollectionEx_ToDataCollection__1_System_Collections_IEnumerable_">IDataCollectionEx.ToDataCollection&lt;T&gt;(IEnumerable)</a>
  </div>

</div>
