remove blank element from array in c# code example Example: delete null elements array c# Cars = Cars.Where(c => c != null).ToArray();