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?
I often hear questions about running sub-process in parent’s console. People got confused about how to make sure that the child process uses the same console as the parent.
One more C# 6 syntactic sugar feature is static using. The feature eliminate explicit reference to the type when invoking a static method.
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.
Sometimes an application needs to print data / let user know something. It might also needs to get data from an user. In this post I’ll show you few basic ways to communicate.