<?php

class GenericList
{
  public array $Items = array();

  function Add($Item): void
  {
    $this->Items[] = $Item;
  }

  function RemoveAt(int $Index): void
  {
    unset($this->Items[$Index]);
  }

  function Count(): int
  {
    return count($this->Items);
  }
}
