Install the NuGet package System.Reactive, then add this using statement to access the Rx extension methods:
System.Reactive
using System.Reactive.Linq;