C# Team plans to start prototyping Discriminated Union

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • csharplang

    The official repo for the design of the C# programming language

  • Regarding using aliases for any types #4284, where you will be able to provide a named alias for tuples:

  • Zorya

    C# implementation of the variant type.

  • I don't think there's any built-in unfortunately, at least not yet. I put together something, though it could probably be better, the biggest problem is indeed the memory. There's a proposition to allow structuring generic classes and structs, so it would be possible to make generic C++-like unions, that would help. But for now I don't really see a way to make it work, though maybe someone will have a better idea.

  • 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.

    InfluxDB logo
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.

Suggest a related project

Related posts