Original Post
Hi to all, i have created a class named subfileInfo:
and i have an arrary of subfileInfo
now i need to find in my SubFileArray the subfilesinfo that has in their names the string contained in textbox1.text
I am trying to do this wit Array.find but i am very confused i don´t achive to do it, How can i search for the subfilesinfo which contains into their name the substring textbox1.text
public class SubFileINfo { public string Name; public UInt32 StartOffset; public UInt32 Length; }and i have an arrary of subfileInfo
SubFileInfo[] SubFileArray;now i need to find in my SubFileArray the subfilesinfo that has in their names the string contained in textbox1.text
I am trying to do this wit Array.find but i am very confused i don´t achive to do it, How can i search for the subfilesinfo which contains into their name the substring textbox1.text