Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想就有关搜索内存对象的最佳实践征求意见。
我们的业务数据表示为内存中的 C# 对象。它明确指定了应匹配对象的哪些属性。我应该能够选择与搜索短语匹配的那些业务对象,其中搜索短语可能包含通配符(无布尔运算)。我可以完全控制整个代码。
在这种情况下,您将如何实现搜索?