Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
GeneralRe: Looking for ideas on how to release memory right before a generation 3 garbage collection Pin
GWBas1c4-Dec-09 4:02
GWBas1c4-Dec-09 4:02 
AnswerRe: Looking for ideas on how to release memory right before a generation 3 garbage collection Pin
Alan Balkany4-Dec-09 4:15
Alan Balkany4-Dec-09 4:15 
GeneralRe: Looking for ideas on how to release memory right before a generation 3 garbage collection Pin
GWBas1c4-Dec-09 10:43
GWBas1c4-Dec-09 10:43 
AnswerRe: Looking for ideas on how to release memory right before a generation 3 garbage collection Pin
Gideon Engelberth4-Dec-09 4:30
Gideon Engelberth4-Dec-09 4:30 
GeneralRe: Looking for ideas on how to release memory right before a generation 3 garbage collection Pin
GWBas1c4-Dec-09 10:50
GWBas1c4-Dec-09 10:50 
AnswerRe: Looking for ideas on how to release memory right before a generation 3 garbage collection Pin
Natza Mitzi6-Dec-09 10:18
Natza Mitzi6-Dec-09 10:18 
RantRe: Looking for ideas on how to release memory right before a generation 3 garbage collection Pin
GWBas1c6-Dec-09 18:53
GWBas1c6-Dec-09 18:53 
QuestionIs this an acceptable way to make a Control Array? [modified] Pin
Randal Vance Cunanan3-Dec-09 17:22
Randal Vance Cunanan3-Dec-09 17:22 
Control[] controlArrays = new Control[3];

controlArray[0] = textbox1; //name of the textbox control on the form
controlArray[1] = textbox2;
controlArray[2] = textbox3;

for(int i = 0; i < controlArrays.Length; i++)
{
   if(controlArray[i] is TextBox)
      (TextBox)controlArray[i].Text = "My Array #" + i.ToString();
}


Thanks.

modified on Friday, December 4, 2009 12:13 AM

AnswerRe: Is this an acceptable way to make a Control Array? Pin
Abhinav S3-Dec-09 17:49
Abhinav S3-Dec-09 17:49 
GeneralRe: Is this an acceptable way to make a Control Array? Pin
Randal Vance Cunanan3-Dec-09 17:59
Randal Vance Cunanan3-Dec-09 17:59 
AnswerRe: Is this an acceptable way to make a Control Array? Pin
dan!sh 3-Dec-09 18:29
professional dan!sh 3-Dec-09 18:29 
AnswerRe: Is this an acceptable way to make a Control Array? Pin
GWBas1c3-Dec-09 19:29
GWBas1c3-Dec-09 19:29 
AnswerRe: Is this an acceptable way to make a Control Array? [modified] Pin
puri keemti3-Dec-09 22:22
puri keemti3-Dec-09 22:22 
AnswerRe: Is this an acceptable way to make a Control Array? Pin
Shameel3-Dec-09 23:34
professionalShameel3-Dec-09 23:34 
AnswerRe: Is this an acceptable way to make a Control Array? Pin
freakyit3-Dec-09 23:39
freakyit3-Dec-09 23:39 
AnswerRe: Is this an acceptable way to make a Control Array? Pin
PIEBALDconsult4-Dec-09 4:04
mvePIEBALDconsult4-Dec-09 4:04 
QuestionString Manipulation Pin
CoderOnline3-Dec-09 17:15
CoderOnline3-Dec-09 17:15 
GeneralRe: String Manipulation Pin
Abhinav S3-Dec-09 17:46
Abhinav S3-Dec-09 17:46 
GeneralRe: String Manipulation Pin
CoderOnline3-Dec-09 18:08
CoderOnline3-Dec-09 18:08 
GeneralRe: String Manipulation Pin
Abhinav S3-Dec-09 18:23
Abhinav S3-Dec-09 18:23 
GeneralRe: String Manipulation Pin
CoderOnline3-Dec-09 18:27
CoderOnline3-Dec-09 18:27 
GeneralRe: String Manipulation Pin
vivasaayi3-Dec-09 18:35
vivasaayi3-Dec-09 18:35 
AnswerRe: String Manipulation Pin
puri keemti3-Dec-09 22:25
puri keemti3-Dec-09 22:25 
Answerthe Answer..! Pin
sashidhar3-Dec-09 23:18
sashidhar3-Dec-09 23:18 
AnswerRe: String Manipulation Pin
PIEBALDconsult4-Dec-09 4:06
mvePIEBALDconsult4-Dec-09 4:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.