Tim,
The index you make yourself for an array.
by instance in VBNet
for i as integer = 0 to myArray.Length - 1
'do what you want
next
C#
For (int i=0;i<myArray.Lenght;i++){//do what you want}
Did you know by the way that there are special language newsgroups.
microsoft.public.dotnet.languages.vb or csharp or vs
I hope this helps,
Cor
"tim" <ti*@inwind.it> schreef in bericht
news:43************@news.tariffenet.it...
I have an array.
I have the name of an element.
I need the related index.
Is there a sort of "GetIndex" method
or I have to use the For Next cicle
until I met the given name?