c#入门简单代码,适合新手,简单的递归求和实现。主函数staticvoidMain(string[]args){Class1aa=newClass1();Console.WriteLine("请输入待求阶乘的数:");intn=Convert.ToInt32(Console.ReadLine());//Console.WriteLine(n.ToString());intresult;Programpg=newProgram();