TArrayMyArray = {1, 2, 3, 4, 5}; int Count = MyArray.GetCount();
TArrayNames = {"John", "Jane", "Bill", "Kate"}; int NumNames = Names.GetCount();
TArrayIn this example, we create an array of floats and then call GetCount to get the number of elements in the array. The value of Count will be 3. Based on the syntax and examples provided, it appears that the package library for this code is Unreal Engine.Floats = {1.5f, 2.4f, 3.7f}; int Count = Floats.GetCount();