You are viewing our Forum Archives. To view or take place in current topics click here.
Need Some C# Help
Posted:

Need Some C# HelpPosted:

M0D1F13D
  • TTG Senior
Status: Offline
Joined: Sep 06, 201014Year Member
Posts: 1,069
Reputation Power: 47
Status: Offline
Joined: Sep 06, 201014Year Member
Posts: 1,069
Reputation Power: 47
First of all, I've been coding in C# for about a day and a half so bare with me. So, I have a string array, and I need to put each string in the array on a different line of a multi line text box. Thanks in advance for any help.
-M0D1F13D
#2. Posted:
Experiment5X
  • TTG Senior
Status: Offline
Joined: Aug 14, 200915Year Member
Posts: 1,291
Reputation Power: 65
Status: Offline
Joined: Aug 14, 200915Year Member
Posts: 1,291
Reputation Power: 65

for (int i = 0; i <= elemntsInYourArray; i++)
    richTextBox1.Text += "\r\n" + myArray[i];
#3. Posted:
M0D1F13D
  • TTG Senior
Status: Offline
Joined: Sep 06, 201014Year Member
Posts: 1,069
Reputation Power: 47
Status: Offline
Joined: Sep 06, 201014Year Member
Posts: 1,069
Reputation Power: 47
Experiment5X wrote

for (int i = 0; i <= elemntsInYourArray; i++)
    richTextBox1.Text += "\r\n" + myArray[i];

Thanks. +rep
-M0D1F13D
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.