How to avoid deadlocks when reading redirected child console in C# (part 2)

Some time ago, I showed a way to avoid deadlocks when reading the redirected console of a child process in a synchronous way. It works, but only when we have to deal with a single output stream – standard output or standard error stream. But what should be done when both streams are flooded with data?

C# 6 features – Static using

One more C# 6 syntactic sugar feature is static using.  The feature eliminate explicit reference to the type when invoking a static method.

C# Tutorial – String manipulation

Sometimes an application has to do a lot of string manipulation operations. Especially when it needs to print data in a well specified format. Sometimes it just needs to let user know something. In this post I’ll show you few techniques how to manipulate strings and explain what are consequences of using each.