object[] objarr = new object[] {1,2,3 }; int[] arr = objarr.Cast<int>().ToArray();
int[] result = enumArray.Cast<int>().ToArray();