show line numbers in conde snippets

This commit is contained in:
Marcello 2023-10-20 18:22:46 +02:00
parent cd1df0e376
commit 255a68d673
82 changed files with 1249 additions and 1251 deletions

View file

@ -19,7 +19,7 @@ Because Rx implements standard LINQ operators, it's possible to write queries ag
The two most important types in Rx are the `IObservable<T>` and `IObserver<T>` interfaces.
They are important enough to be in the System namespace. The other parts of Rx are in the `System.Reactive` NuGet package.
```cs
```cs linenums="1"
public interface IObservable<out T>
{
IDisposable Subscribe(IObserver<T> observer);