I have one CSV file in my PCL folder, i want to get the path of that file so i can read the files using File.ReadAllLine(). Here is the code I have been used not not getting the file, as i have changed the file to the embedded resources I want this in string[] lines.
string[] lines = File.ReadAllLines("PrinterTestSample.Csv.UserData.csv");
You will need to get a stream from the assembly where the embedded resource is. Below a sample code on how to read it.