ReadLine is a GNU Readline like library built in pure C#. It can serve as a drop in replacement for the inbuilt
Console.ReadLine() and brings along with it some of the terminal goodness you get from unix shells, like command history navigation and tab auto completion.
An AutoCompletionHandler callback can be used to provide an array of suggestion.
tsolarin/readline: A GNU-Readline like library for .NET/.NET Core
A small validation library for .NET that uses a fluent interface and lambda expressions for building validation rules: GitHub – JeremySkinner/FluentValidation. Seems easy to use.
In the same way it’s possible to await any type following a specific ‘trait’ (yes, we need them in C#), It’s now possible to return custom type from an async method: Return Any (Task-Like) Type From An Async Method | Bar Arnon. We can thanks corefx, Roslyn and Stephen Toub.
I’ve really understood all this stuff when reading: corefx/net-platform-standard.md at master · dotnet/corefx. A must!
News from my corner of the Visual Studio Project & Build team, programming tips, and solutions to common programming issues.
Source: When TPL Task continuations are inlined | Andrew Arnott
In .Net [1.1 .. 4.6, Silverlight], each literal string value is garantee to exist only once in memory. Cache used to implement this can be access and used through String.Intern(String) static method (String.Intern Method (String) (System)).
In a search to find if my C# 6.0 code can target .Net 4.5, I’ve found an interesting post about string interpolation internals and how to customize it. For example, a custom IFormatProvider can be used to Uri.EscapeDataString interpoled strings.
Source: Customizing string interpolation in C# 6 » Thomas Levesque’s .NET blog
Apparently, MSDN’s documentation about FormattableString Class is wrong: FormattableString is only .Net 4.6 and not .Net 4.5 stuff.