2015/02/05

even though C# async syntax let can dispose type on different thread with the using statementprivate static async Task RunAsync()
{
using (var conn = new SqlConnection(/* ... */))
{
await conn.OpenAsync();
// ...
}
}
unfortunately Transaction Scope (on .NET 4.5) didn't support completion on different thread.
this issue fixed up on .NET 4.51 but instead of fixing it for the default scenario,
you have to define it explicitly.using (var scope = new TransactionScope(
...

in the next RX Challenge you need to ovoid overlaps of charin the output stream. you start with Stream that create sub stream of string,each sub stream is built of single char representation. --#----------------@----------------*------------------ | #--##--###--####--#####--######--####### | @--@@--@@@--@@@@-- | *---**---***--- you should find a way to get output stream wherelisten to the latest sub stream. the output stream should be look like: --#--##--###--@--@@--@@@-*---**---***--- in other words you have to avoid overlapping char.
public void AvoidOverlappingStreams_Test()
{
/******************************************************
*
* you start with...