CSharp : Use an array of nodes and AOT

CSharp : Use an array of nodes instead of a List and compile and run
with AOT.
It goes from 2083 to 1719