webtotal

webtotal

  • NA
  • 1
  • 0

Array.CreateInstance()

Dec 25 2003 1:01 AM
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?