In C#, you can read all the lines using File.ReadAllLines() (see https://docs.microsoft.com/en-us/dotnet/api/system.io.file.readalllines?view=netcore-3.1 ).
Loop through the lines (or use a Linq Where() statement) until you find the one with "total."
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.