i have a text file contain many line like that:
text1
text2
text3
text4
text5
text6
i want to find "text3" and create byte array from The rest of the file
i have a text file contain many line like that:
text1
text2
text3
text4
text5
text6
i want to find "text3" and create byte array from The rest of the file
Check this code. Here the list Valinbytes is the list that will contain the array of bytes for all values after text3. You can easily convert this to array using the ToArray() method on the list.Feel free to let me know if you need something more from it.