我有一个清单。
可能的成员 (x123, y123, z123, a123, b123, c123).//123 是示例 此“mylist”可能包含以 x 开头的成员,也可能不包含。这对于 y,z,a,b,c 也是一样的。
If contains a member starts with x:
//Formula Contains X
If Not Contains a member starts with x:
//Formula Not Contains X
//same as all of x,y,z,a,b,c. But unlike a foreach, I must place the formulas at checking time, not after.
我怎样才能做到这一点?