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.
我有一个包含List<Func<T>>. 该类是可序列化的,并将通过 WCF 传输。现在,我遇到了 contains 的问题List<Func<T>>。我该怎么做才能使该列表也可序列化?
List<Func<T>>
你会如何期望 aFunc<T>被序列化?它是一个指向函数的指针——这样的东西不能被序列化。
Func<T>