This article has moved to
Deterministic finite state machine implementation in C#
.