title: How can I declare an array for ChildContent RenderFragment
body: <p>I have wrote 2 components:</p>
  <ul>
  <li>MyLine.razor</li>
  <li>MyTable.razor</li>
  </ul>
  <p>Here is how I want to use this components:</p>
  <pre><code>&lt;MyTable&gt;
    &lt;MyLine /&gt;
    &lt;MyLine /&gt;
    &lt;MyLine /&gt;
  &lt;/MyTable&gt;
  </code></pre>
  <p>Here is what I've wrote for MyTable.razor:</p>
  <pre><code>@code
  {
     [Parameter]
     public RenderFragment ChildContent { get; set; }
  }
  </code></pre>
  <p>It works, but I want to count all &quot;MyLine&quot; components.</p>
  <p>Here is what I've tried:</p>
  <pre><code>   [Parameter]
     public RenderFragment&lt;MyLine&gt; ChildContent { get; set; }
  
     [Parameter]
     public RenderFragment&lt;List&lt;MyLine&gt;&gt; ChildContent { get; set; }
  </code></pre>
  <p>But it does not work.</p>
  <p>Any idea ?</p>
  <p>Thanks</p>