Change .NET Client uses of arrays to IList.

#1288