length of array csharp unity

Code Example - length of array csharp unity

                
                        public GameObject[] objects;

objectCount = objects.Length;