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

Iftikar HussainPosted Aug 3, 2013, 9:06 AM
Try like this
Using normal loop
Using Linq
textBox1.Text = data;
Regards,
Iftikar
Osayz FamilyPosted Aug 3, 2013, 9:04 AM
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..
Ravi ShekharPosted Aug 3, 2013, 7:34 AM
Like...
1
2
3
4
5
Ravi ShekharPosted Aug 3, 2013, 7:32 AM
replace your values...