How to use is_empty() method on godot arrays in C#

Godot Version

4.5.1

Question

I am storing an array of type “Godot.Collections.Array<Godot.Area2D>” after using the “GetOverlappingAreas()” method but when I try to use “IsEmpty()” on this array it returns the error “Array does not contain a definition for ‘IsEmpty()’ and the best extension method overload 'GD.IsEmpty(byte[])’ requires a reciever of type ‘byte[]’ “

Godot.Collections.Array<Godot.Area2D> overlappingAreas = objArea.GetOverlappingAreas();
		
GD.Print(overlappingAreas.IsEmpty()); 

Trying to use overlappingAreas.GD.IsEmpty() also returns an error.

What is the correct way to use this function? Alternatively, is there any way to cast the Godot.Collections.Array<Godot.Area2D> to a C# Area2D[] array?

array.Count == 0

There’s no need to cast it to anything, it’s an IList<T>

Thank you! When I tried to use count before I had been using it as a method Count() but this makes a lot more sense.