for (int m = 0; m < lines?.Length; m++)
就问你装不装。?.的意义是,如果前面为空,则返回void.如果不为空则继续下去。是不是同时想起了?: 这种符号。
这叫语法糖,减少你的代码量。