[Solved] How to make every object in list null [closed]


This updates the list, and doesn’t create a new list with new contents.

for (i = 0; i < list.Count; i++) {
    list[i] = null;
}

1

solved How to make every object in list null [closed]