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.
您如何写入多个跟踪源,而不是:
tss.ForEach(x => x.WriteLine());
(假设ForEach扩展方法)
ForEach
即有没有办法组成痕迹?还是我应该只写一个辅助方法/使用foreach?