VB.Net Read Text from file with ignoring first line -


i've data:

"#the days"
"day until age 704"
"you die in 766 days"

i want read that's text want skip text begins #

to skip first line

dim readfirst boolean each line string in io.file.readalllines("path file")     if readfirst         'process lines except first     end if     readfirst = true next 

if want skip lines begin "#"

for each line string in io.file.readalllines("path file")     if not line.startswith("#")         'process lines don't start "#"     end if next