Unfortunately your code has nothing to do with C#, and you are asking of us to write the source for you, you are not asking any questions. Please restate your question and the code of which you had accomplished already.
Be sure to read the updated
FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us
why or
what errors occurred.