1

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

Ravi
  • 2,280
  • 3
  • 23
  • 29
  • 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
  • 24,482
  • 7
  • 94
  • 140
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
  • 50,756
  • 12
  • 89
  • 148