我正在尝试找出如何检查所有值是否与其他列表值匹配。示例: List<string> foo = new List<string>() {"banana","apple","coconut"}
List<string> bar = new List<string>() {"banana","apple",&q
假设我有一个TCL列表,并且在我的列表中添加了一些元素。现在,我想检查我是否附加了6或7个元素。为了检查list元素是否存在于索引指定的位置,我使用了:#if I am here then I have appended7 elems, otherwise it should be at least 6但是接缝这是行不通的。<