我有一个包含文本行的文本文件,我想一定行添加到一个列表框,如果下一行满足例如条件C#添加从文本文件行到一个列表框
如果行以#开头,则添加该行如果下一行与@开始后,所有的行与@
#add this line
@add this line
@add this line
@add this line
#dont add because the next line is not a @
#dont add because the next line is not a @
#dont add because the next line is not a @
#dont add because the next line is not a @
#add this line
@add this line
@add this line
#dont add because the next line is not a @
#add this line
@add this line
#add this line
@add this line
希望启动,这使得现场的任何帮助将是巨大
[什么都尝试过你?](http://whathaveyoutried.com) – GameScripting
你为什么需要这样一个疯狂的滤波方案?!? –