System.Runtime.InteropServices.ArrayWithOffset.CalculateCount C# (CSharp) Method