1

can any on explain me what are state machines in .net

Ravi
  • 2,470
  • 3
  • 26
  • 32
  • 2
    are you referring to State Machine Workflows? http://msdn.microsoft.com/en-us/library/ms735945(VS.90).aspx – burkestar Sep 28 '10 at 02:29

2 Answers2

2

If you mean Finite-state machines, they're essentially language-independent. The implementation would differ by language, of course.

TrueWill
  • 25,132
  • 10
  • 101
  • 150
1

If you mean using the Yield keyword to create a state machine you can take a look at this

Note: Eric Lippert's answer contra-indicates using them.

Community
  • 1
  • 1
Conrad Frix
  • 51,984
  • 12
  • 96
  • 155