Question: how to do tdd in c#?
Answer: Write a unit test that fails.
Write enough code to make the test pass — at this step we don't care about good code.
Refactor your code from the previous step.