A ticket to the top of the sky

Myra allows C# to use a fluent pattern matching mechanism.


Instead of comparing values using the if statement, use composable patterns for increased code reuse and head scratching from your fellow developers.

Main features

Robust mechanism

Patterns allow a safe and expressive way to evaluate the state of any object.

Preset templates

Choose from a set of predefined patterns and get straight into the action.

Make it your own

Customize the pattern with standard boolean logic. The fluent API of Myra allows easy tweaking of any logic process.

Go with the flow

Pattern matching is the latest fashion in functional programming. So many experts can't be wrong.

Terser code

Myra patterns make shorter and more concise code, which is always a plus.

Future proof

Myra can be used from .NET Framework, .NET Core apps, UWP, Mono and Xamarin. It also supports the latest features in C#.

using Myra;

Head over to the Download page to get information on how to use Myra in your projects, as well as where to find the source repository, should it be needed.


Download