What IanS says is correct. Think about it. The point of TryParse is to TRY to parse the text into a number. If your code worked, what exactly would you expect to be put into your array if that attempt failed?

You can find examples of the use of TryParse all over the web and this forum too. Barely a day goes by that at least one question doesn't involve TryParse in the answer so a search will turn up loads of examples.

You shouldn't even need that though. Whenever you are using a new type or member, especially if it doesn't work the way you expect, the very first thing you should do is read the documentation for that type or member. The Help menu is not there for decoration. The documentation will explain what the type or member does and often provide examples so that is quite often all you need.