Skip to main content
 首页 » 编程设计

如果属性在 Liststring> 中,C# 从 ListT> 中删除所有项目

2024年02月05日8zhwl

<分区>

我有一个 List<T>其中 T 有一个字符串属性,我们称它为 Value

然后我有一个List<string>包含一些关键字。

如何从 List<T> 中删除所有项目?其中属性值与 List<string> 中的一个关键字匹配?