factorial program in c# using do while loop