我有一个文本文件,其中包含一些行的信息.我想通过传递一些线条来阅读它.例如,假设我的行数为1-10.当我正在阅读时,我想通过以下方式阅读它,
1 <- i wanna read this
2 <- Skip this
3 <- read this
4 <- Skip this
5 <- read this
6 <- Skip this
7 <- read this
8 <- Skip this
9 <- read this
10 <- Skip this
Run Code Online (Sandbox Code Playgroud)
你得到了正确的模式吗?我怎样才能用c#实现这个目标?而且我想得到我以后跳过的台词.有任何想法吗?