469,344 Members | 6,443 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,344 developers. It's quick & easy.

Merging Arrays

Does anyone have any idea how to merge two integer arrays into one sorted integer array without using any array methods? I am using VB.Net 7.1. Thanks.
Jan 21 '07 #1
1 867
I tried adding the two arrays to the 3rd empty array like this:

Expand|Select|Wrap|Line Numbers
  1.  Array.Copy(intY, intZ, 12)
  2.         Array.Copy(intX, intZ, 14)
  3.         Array.Sort(intZ)
  4.  
  5.         txtDisplay.Text = Convert.ToString(intZ)   
But my output is System.Int32[]

Any Ideas?
Jan 22 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Tmenke | last post: by
4 posts views Thread by Bush will disarm all workers next | last post: by
3 posts views Thread by Patrick | last post: by
3 posts views Thread by André Hänsel | last post: by
8 posts views Thread by vidishasharma | last post: by
5 posts views Thread by John | last post: by
1 post views Thread by CARIGAR | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.