J
Jonathan.12
Guest
Hello,
I programming as a hobby and currently I make a a string counter in a Windows Form.
First: I made a XML file called "Words" with several type of words in different languages:
<Word English="Car" German="Auto" Spanish= "Coche"/>
<Word English="Beer" German="Bier" Spanish= "Cerveza"/>
<Word English="Dog" German="Hund" Spanish= "Perro"/>
Second: Use a LINQ Query and added all the items to a generic list of string.
Third: The first textbox show all the items in the list (comma separated):
Car, Auto, Coche
Beer, Bier, Cerveza
Dog, Hund, Perro
My question is: I want to show the length of the longest English, German and Spanish word in a second textbox. Is this possible?
In my example it is: 4, 4, 7
Thanks in advance,
Jonathan
Continue reading...
I programming as a hobby and currently I make a a string counter in a Windows Form.
First: I made a XML file called "Words" with several type of words in different languages:
<Word English="Car" German="Auto" Spanish= "Coche"/>
<Word English="Beer" German="Bier" Spanish= "Cerveza"/>
<Word English="Dog" German="Hund" Spanish= "Perro"/>
Second: Use a LINQ Query and added all the items to a generic list of string.
Third: The first textbox show all the items in the list (comma separated):
Car, Auto, Coche
Beer, Bier, Cerveza
Dog, Hund, Perro
My question is: I want to show the length of the longest English, German and Spanish word in a second textbox. Is this possible?
In my example it is: 4, 4, 7
Thanks in advance,
Jonathan
Continue reading...