I'm new to C# programming...I'm trying to make a logic something like making 2 applications never die. If application(A) process is exited then the other application(B) will start that application(A) process again and vice versa. (Must keep running until the computer is shut down)
Currently, I made a way of finding app(A).exe process and if doesn't exists process starts and vice versa. But this fires up the CPU..
I've used the backgroundworker which takes up alot of CPU, and the timer which doesn't take up alot of CPU..But there should something better than timer
I'm wondering if there's something like using event handler but I just can't get to it..
Is there any good way to use less CPU and have this logic working?