Preallocate size using System.String in DotNet?



I’ve been reading about the fastest way to read files in .net is to preallocate the string e.g.

In C#: AllLines = new string[MAX];

I can;t work out how to pass that into the constructor in maxscript:

MAX = (dotnetclass "System.Int32").MaxValue --2147483647
fileData = (dotnetobject "System.String[" + MAX +"]") --preallocate memory

There are various pages talking about backkticks, etc. but I’ve had no luck so far.