Hi.
There are two ways to create an array instance. as follows
int[] arr = new int[10];
or
Array arr = Array.CreateInstance(typeof(int), 10);
Why use the latter?
Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Replies
Know the answer? Post it — somebody with the same question will find it here.