Rx.NET Observable 的 LinqPad 错误

LinqPad error with Rx.NET Observable

我正在尝试 运行 Rx.NET 在 LinqPad 中。如图所示,我添加了 Rx.NET 个 DLL。

我看到的错误是

CS0103 The name 'Observable' does not exist in the current context.

我该如何解决这个错误?

确保您已在 "Additional Namespace Imports" 选项卡(可通过 Ctrl-Shift-M 访问)中添加所需的命名空间。

对于 Observable 你需要 System.Reactive.Linq.