Using File.ReadAllLines from embedded text file
问题 I have been applying what I have learned so far in Bob Tabors absolute beginners series and I wrote a small console word game for my daughter that requires me to generate a random 5 letter word. I was previously using File.ReadAllLines(path) to generate a string array from a text file (wordlist.txt) on my system and Random.next to generate the index I would pull from the array. I learned from some posts here how to embed the file as a resource but now I am unable to find the syntax to point