I have 2 forms.
for example, One form has 30 textboxes which fill up with one char and another form has only one textbox which fill up with one word(5 char).
i make 2 arrays. 30 indexes of array1 and 5 indexes of array2.
i want to show the result characters in another textbox when each index of array2 is equal to each index of array1.
how to write the function()?
pls help me!!!
Loading


Ravi ShekharRank #673 · 3.6K reputationPosted Aug 3, 2013, 3:32 AM EDT
replace your values...
Ravi ShekharRank #673 · 3.6K reputationPosted Aug 3, 2013, 3:34 AM EDT
Like...
1
2
3
4
5
Osayz Family6 reputationPosted Aug 3, 2013, 5:04 AM EDT
but I don't get it what u mean...
here is what I want...
Form1 has 30 textboxes which are stored 'char' values.
Form2 has only one textbox which is stored 'string' value.
For example;
char[] abc = new char[30] {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k',......,'z'}; // from Form1
string xyz = apple; // from Form2
each character in the word "apple" is need to check whether is equal to one of the character in the array char[] abc. if they are matched each other.....
I want to show the results in another textbox..
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 3, 2013, 5:06 AM EDT
Try like this
Using normal loop
Using Linq
textBox1.Text = data;
Regards,
Iftikar