Hello everyone,
I am very new to programming, and I recently tried to develop a C++ application, but came accross alot of problems, and was advised to try C#.
Now, I have basicly used the same code...A bit different, And everything is working, except one thing.
String str1 = ("1");
String str2 = ("0");
String str3 = ("10^");
str1 = str1 + str2;
this.richTextBox1.Text = str1;
this.richTextBox2.Text = str3 + Convert.ToString(str1.Length -1);
I want, to have str1 + str2, then have that add on str2, then that add on str2, ect, forever.
Now, when I was working with integers, the old value would override so if I had
X = 10
Y = 10
X*Y=Y
Making Y 100
Then did X*Y again, the answer would be 1,000, ect. But this doesn't work with strings.
Can someone help me here?