Byte array in visual basic?

Jun 19, 2012 at 1:19 AM

Does anyone know how to convert the following the code into vb?

uint[] image = 
            {
                1,2,1,2,1,2,1,
                2,1,2,1,2,1,2,
            };

Jun 19, 2012 at 2:29 AM

C#:

uint[] image = { 1,2,1,2,1,2,1, 2,1,2,1,2,1,2, };

VB:

Dim image() As new UInteger = new UInteger() {1,2,1,2,1,2,1, 2,1,2,1,2,1,2}

I have not tested this. If this doesn't work try using actual bytes (still not tested):

Dim image() As new Byte = new Byte() {1,2,1,2,1,2,1, 2,1,2,1,2,1,2}

On Jun 18, 2012 8:19 PM, "qwertyuiop5" <notifications@codeplex.com> wrote:

From: qwertyuiop5

Does anyone know how to convert the following the code into vb?

uint[] image = 
            {
                1,2,1,2,1,2,1,
                2,1,2,1,2,1,2,
            };

Read the full discussion online.

To add a post to this discussion, reply to this email (Cosmos@discussions.codeplex.com)

To start a new discussion for this project, email Cosmos@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com