public ArrayListDebugView(ArrayList arrayList) { if (arrayList == null) throw new ArgumentNullException(nameof(arrayList)); _arrayList = arrayList; }