Barbara <ba**************@gmx.de> wrote:
Is it possible in C# to merge two strings to access variable?
The answer to questions like this is almost always to use either an
array or a hashtable.
(Like in JScript: document('variable'+200).style...)
What I am trying to do is:
I have a class Structure.cs
I would like to create several Structure-s, fill their elements with data,
but in a way that
I can choose starting number (sometimes I need Structure[201],[202],
sometimes [301,302])
Well, you *can* create arrays with non-zero lower bounds, but it's
rarely a good idea, IMO. Could you give us more information about why
you need this?
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too