Array Clear() of RemoveAt()

hey there reader!
i created an texture array, and at some point in my code, i want to clear the array. so i tried using ArrayName.Clear(); and Array.Clear(ArrayName, 0, ArrayName.Length). but i just cant figure out how to make them work, cause both of them just keep throwing errors at me.
now i though i could create a for loop, which removed every time it ran, it would delete the [0] index of the array. but this gives me the error UnityEngine.Texture does not contain a defenition for “RemoveAt” etc.etc…
i think my problem lies somewhere in how i typed the RemoveAt an Clear(), sinds Texture does contain a defenition for .Length, dut not for .length.

is there anyone out there with some idea how i can empty my array? in like any way?

thanx for lookin in to it.

You cannot ‘remove’ from an array, you can only change the values stored at each location. You should use a dynamic array, known in C# as a 1, if you want to be able to remove items, resize, etc.

using System.Collections.Generic;

List<int> myList= new List<int>();

int num = 22;
myList.Add(num);
myList.Remove(num); //removes matching item

myList.Add(33);
myList.RemoveAt(0); //removes at array index