This Gist is my experimental code of explanation for logic circuit with C#.
I think, using Reactive Extension, we can write more smart code for circuit(not only logical one).
This class means logic wire. Logic gate elements are also provided.
For IObservalble<bool> instances with default value, factory method "CreateWithDefault" is exist.
"CheckOut" method is getting IObservable stream. If i don't use operator override, LogicSignal is same as IObservable<bool>
This shows how to use.
Using normaly, statements in 4 Subscribe methods will be Console.WriteLine method for value watching.