This is also true for the default array that PowerShell creates for us, which is another reason to declare your arrays as the type you will store in them unless you’re planning to store different types in the same array. I will leave you with a quote from.NET on GitHubon the topic....