// This removes a resource by index internal void RemoveResource(int index) { // Remove the item resources.RemoveAt(index); }