Dynamically Creating Variables in C#
- From: ann.smithry@xxxxxxxxx
- Date: 16 Jul 2006 16:49:31 -0700
Is there any way to dynamically creat variables?
In other words, I want to be able to do something like that:
for(int i=0; i<size; i++){
string temp+i = i*3;
}
I want my variables to be temp0, temp1, temp2, etc.
.
- Follow-Ups:
- Re: Dynamically Creating Variables in C#
- From: Abstract Dissonance
- Re: Dynamically Creating Variables in C#
- From: Leslie Sanford
- Re: Dynamically Creating Variables in C#
- Prev by Date: Re: Randomly outputting an array
- Next by Date: Re: C is too old? opinions?
- Previous by thread: Power zDVD 7 with ultra ISO keygens
- Next by thread: Re: Dynamically Creating Variables in C#
- Index(es):
Relevant Pages
|