Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
You want something like a generic version of the StringValues struct ? You can starting from the code here, as the doc says: "Represents zero/null, one, or many strings in an efficient way"
Scala has the construction which you are looking for - Either Monad. It returns one value or another. Dotnet also has the implementation of this construction: https://github.com/louthy/csharp-monad
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- The Monad Invasion - Part 1: What's a Monad?
- Discriminated Unions: Essa feature faz falta no CSharp
- Easy to use F#-like ~discriminated~ unions for C# with big compile time matching
- Rolled my own Result<T,E> type that seems to work better than others.
- Exception handling between controller and service