Click here to Skip to main content
13,049,233 members (69,574 online)
Rate this:
Please Sign up or sign in to vote.
See more:
byte[] ch11 = new byte[4] { 0x00, 0x08, 0x00, 0x00 };
byte[] ch12 = new byte[4] { 0x00, 0x10, 0x00, 0x00 };
byte[] ch13 = { 0x00, 0x20, 0x00, 0x00 };
byte[] ch14 = { 0x00, 0x40, 0x00, 0x00 };

byte[][] chennaelArr = new byte[][] { ch11,ch12};

how to pass ch11,ch12 arrays as a element to channelArr.
Posted 9-Nov-12 0:17am
Updated 9-Nov-12 0:19am
CPallini 9-Nov-12 6:36am
The code you posted already does what you're requesting.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

It's not exactly solution Instead, Can you try to assign it like shown below :

byte[4][] channelArr = new byte[4][];
channelArr[0]= ch11;
channelArr[1]= ch12;
channelArr[2]= ch13;

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 9 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100