Advertisement

04.05.2008 at 03:27AM PDT, ID: 23298150
[x]
Attachment Details

Array construction

Asked by mhouldridge in C# Programming Language

Tags: C#

Experts,

I'd like to add values to my array, however I don't know what the length of my array will be.  I'm aware that you have to declare the number of elements in an array, but is it possible to simply add to an array, ie:

MyArray[position] = "something";
MyArray[position] = "somethingelse";

and so on...

Start Free Trial
[+][-]04.05.2008 at 03:35AM PDT, ID: 21287672

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: C# Programming Language
Tags: C#
Sign Up Now!
Solution Provided By: Mamtha1982
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628