Cast object array to string array : Array Cast « Data Structure « C# / CSharp Tutorial






public class MainClass
{
    static void Main() {
        string[] names = new string[4];
        object[] objects = names;

        string[] originalNames = (string[]) objects;
    }
}








11.10.Array Cast
11.10.1.Cast object array to string array