# C1.Schedule.WorkDays

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Schedule_WorkDays" data-uid="C1.Schedule.WorkDays" class="text-break">WorkDays Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.Schedule.WorkDays.html">WorkDays</a> class is a list of working days for the single week.</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.dayofweek">DayOfWeek</a>&gt;</div>
    <div class="level2"><span class="xref">WorkDays</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.dayofweek">DayOfWeek</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.dayofweek">DayOfWeek</a>&gt;</div>
    <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.ireadonlylist-1">IReadOnlyList</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.dayofweek">DayOfWeek</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.dayofweek">DayOfWeek</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.dayofweek">DayOfWeek</a>&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.Schedule.html">C1.Schedule</a></h6>
  <h6><strong>Assembly</strong>: C1.ScheduleCore.dll</h6>
  <h5 id="C1_Schedule_WorkDays_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class WorkDays : List&lt;DayOfWeek&gt;, IList&lt;DayOfWeek&gt;, ICollection&lt;DayOfWeek&gt;, IList, ICollection, IReadOnlyList&lt;DayOfWeek&gt;, IReadOnlyCollection&lt;DayOfWeek&gt;, IEnumerable&lt;DayOfWeek&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class WorkDays
    Inherits List(Of DayOfWeek)
    Implements IList(Of DayOfWeek), ICollection(Of DayOfWeek), IList, ICollection, IReadOnlyList(Of DayOfWeek), IReadOnlyCollection(Of DayOfWeek), IEnumerable(Of DayOfWeek), IEnumerable</code></pre>
  </div>
  <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_Schedule_WorkDays__ctor" data-uid="C1.Schedule.WorkDays.#ctor">
          <a class="xref" href="C1.Schedule.WorkDays.-ctor.html#C1_Schedule_WorkDays__ctor">WorkDays()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Schedule.WorkDays.html">WorkDays</a> class.</p>
</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_Schedule_WorkDays_AddRange_System_DayOfWeek___" data-uid="C1.Schedule.WorkDays.AddRange(System.DayOfWeek[])">
          <a class="xref" href="C1.Schedule.WorkDays.AddRange.html#C1_Schedule_WorkDays_AddRange_System_DayOfWeek___">AddRange(DayOfWeek[])</a>
        </td>
        <td class="markdown level1 summary"><p>Creates the new <a class="xref" href="C1.Schedule.WorkDays.html">WorkDays</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_WorkDays_ToString" data-uid="C1.Schedule.WorkDays.ToString">
          <a class="xref" href="C1.Schedule.WorkDays.ToString.html#C1_Schedule_WorkDays_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
