in c# how would one remove a value from an int array ,but only if that value exists in the array?
here's my code so far:
//returns a copy of the array where all occurances of value have been removed
public override int Remove(int array, int value)
clone = new int[array.Length-1];
clone = new int[array.Length];