hessiancsharp.io.CArrayDeserializer.createArray C# (CSharp) Method

createArray() protected method

Creates new array with given length
protected createArray ( int intLength ) : Array
intLength int Length of the array
return System.Array
        protected internal virtual Array createArray(int intLength)
        {
            if (m_componentType != null)
                // mw bugfix
                return Array.CreateInstance(m_componentType, intLength);
                //return (Object[]) Array.CreateInstance(m_componentType, intLength);
            else
                return new Object[intLength];
        }