473,395 Members | 1,972 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,395 software developers and data experts.

[C#] generic twodimensional array of arrays?

Hi,

Let me first say that I'm new to C#. (Maybe that's my biggest problem).

What I want is a twodimensional array of undefined length to store coordinates. At each coordinate I want to store three other single dimensional arrays of unknown length. Each of them stores a real and an integer.

To me the best choice seems to be to use generic list classes.
I am at a complete loss as to how to setup such a thing. The simple examples on the internet have not helped me a lot. In the few cases I managed to get my program to build, I get runtime errors relating to types or things that are not instantiated which I then could not get to work.

Can anyone put me on the right track?
Thanks.
Aug 7 '07 #1
3 1240
kenobewan
4,871 Expert 4TB
Welcome to TSDN. Please provide more information about these errors. Thanks.
Aug 7 '07 #2
Welcome to TSDN. Please provide more information about these errors. Thanks.
Thanks.

I'm sorry but I don't know exactly anymore. I changed my code so many times and started all over several times. I just don't know how to setup this datastructure. A general outline would already be helpfull.
Aug 7 '07 #3
Don't bother anymore.
I found a solution myself.
Aug 10 '07 #4

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

Similar topics

11
by: ZenRhapsody | last post by:
Has anyone done any performance testing between new generic Lists and single dimensional arrays? I really like the code flexibility the List provides since I don't know how many items I will...
1
by: interX | last post by:
Hi I'm new in VC++ and have a question to generics. I have a generic class, which contains an array of the generic type. This array I can pin and then I would like to get an unmanaged pointer to...
1
by: =?iso-8859-1?q?Norbert_P=FCrringer?= | last post by:
Hello there, I want to serialize a twodimensional array: e.g. public string Table { get { return _table; } set { _table = value; }
2
by: SimonDotException | last post by:
I am trying to use reflection in a property of a base type to inspect the properties of an instance of a type which is derived from that base type, when the properties can themselves be instances of...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.