473,396 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to create an Array of BitArray??

Hi,

Does anyone knows if it is possible to create an Array of Bitarrays. In such
a way that I can dinamically change the lenght of each bitarray and redim
the array of bitarray???

Nov 23 '05 #1
3 1759
James,

As soon as you want to start using Redim, have than a look at the arraylist
class.

(with exception the of a bytearray themselves and things like that)

I hope this helps,

Cor
Nov 23 '05 #2
Is there any other way using or not redim that I can dinamically increase
the lenght of the array (or other structure) of bitarrays and each bitarray
itself???

Thanks,

James

"Cor Ligthert [MVP]" <no************@planet.nl> escribió en el mensaje
news:%2****************@TK2MSFTNGP09.phx.gbl...
James,

As soon as you want to start using Redim, have than a look at the
arraylist class.

(with exception the of a bytearray themselves and things like that)

I hope this helps,

Cor


Nov 23 '05 #3
On Thu, 17 Nov 2005 18:55:30 +0100, Cor Ligthert [MVP] wrote:
James,

As soon as you want to start using Redim, have than a look at the arraylist
class.

(with exception the of a bytearray themselves and things like that)

I hope this helps,


There are programmers I have worked with, whom I wish I could tattoo this
on. One of them went so far as to write a bubble sort... you'd think it
would kill him to glance at the documentation once in a while.
Nov 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Marco [Stinger] | last post by:
COMPACT FRAMEWORK Hi Newbe question: I've got an external (Embedded C+) function that reads a PLC and returns an array of 16 unsigned (PLC people call them WORD, but in C# thay should be...
7
by: Eric | last post by:
Hi All, I need to XOR two same-length Strings against each other. I'm assuming that, in order to do so, I'll need to convert each String to a BitArray. Thus, my question is this: is there an...
4
by: Lance | last post by:
I have an array of bytes that I need to convert into an array of Integers. But, the number of bits per value in the Byte array is not necessarily divisible by 8 (although it will never exceed...
3
by: HKannen | last post by:
Hello Everybody, I wrote a little method that gets me an Int32 from a BitArray. This method looks like this: private Int32 GetIntVal( BitArray iArray ) { Byte lByteArr = new Byte; ...
4
by: Rainer Queck | last post by:
Hi NG I have some questions concerning BitArrays. Assumption : BitArray with 16 Bits Is it possible to "load" a BitArray with a UInt16 Value with out iterating it like: UInt16 Bits =...
7
by: Rick Williams | last post by:
I was so happy to find the BitArray class. Until I 'cut and pasted' the following sample code from Visual Studio's help: #using <mscorlib.dll> #using <system.dll> using namespace System;...
8
by: james | last post by:
Hi, Just looking here: http://msdn2.microsoft.com/en-us/library/9b9dty7d.aspx I can't quite see what I want to do. I want an array of Booleans of length 102, all initially "false". I have this...
1
by: Tim1111 | last post by:
Hi, I am a leaner of C#. I found the difficulty to deal with array. I have a byte array. How can I replace the LSB of the byte array with a bitarray? For example, the...
2
by: semedao | last post by:
Hi , I try the BitArray class to make Xor on 2 byte arrays. The result was that when I Xor 1with 2 I get 3 which is correct then Xoring 3 with 1 give me 0 (zero) when it should give me 2 ! ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.