I want to upcast object array to different array of different object type like below
object[] objects; // assuming that it is non-empty
CLassA[] newObjects = obj
using System.Linq; newObjects = objects.Select(eachObject => (ClassA)eachObject).ToArray();