Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

William S Rodriguez willbuildapps

🏠
Working from home
View GitHub Profile
@heytherewill
heytherewill / Observable.cs
Last active Sep 2, 2020
Use the common method names in Rx.Net instead of using the LINQ ones.
View Observable.cs
using System.Collections.Generic;
using System.Reactive.Concurrency;
using System.Reactive.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace System.Reactive.ApiMappings
{
public static class ObservableEx
{
@davidfowl
davidfowl / Example1.cs
Last active May 13, 2021
How .NET Standard relates to .NET Platforms
View Example1.cs
namespace Analogy
{
/// <summary>
/// This example shows that a library that needs access to target .NET Standard 1.3
/// can only access APIs available in that .NET Standard. Even though similar the APIs exist on .NET
/// Framework 4.5, it implements a version of .NET Standard that isn't compatible with the library.
/// </summary>INetCoreApp10
class Example1
{
public void Net45Application(INetFramework45 platform)