Interate with objects
- From: "Victor Pereira" <taintmode@xxxxxxxxxxxx>
- Date: Tue, 19 Apr 2005 14:19:41 -0300
Hi can i iterate with objects ? i mean, if i have button1, button2, button3
and i wanna change it´s text, can i do something like this ?
for(int i = 0;i < 3;i++)
this.button[i].text = "Text = " + i;
Thanks in advance,
Victor
.
- Follow-Ups:
- Re: Interate with objects
- From: Jon Skeet [C# MVP]
- Re: Interate with objects
- From: Bruce Wood
- Re: Interate with objects
- Prev by Date: Re: AppSettings in Whidbey Express
- Next by Date: Re: Newbie Question: Doing tasks after form displays 'on load'
- Previous by thread: AppSettings in Whidbey Express
- Next by thread: Re: Interate with objects
- Index(es):