How to achieve real time programming in .NET? Is there any additional framework available? How to stop a program from executing if the time has lapsed. so, if I say a code needs to finish by "1sec and 600 milisecond", how can I guarantee the timeline?