There's an operator for that, you can use Generate: var source = Observable.Generate( 0, x => x < 100, x => x + 1, _ => random.
確定! 回上一頁