c# identifier expected?

后端 未结 4 2018
余生分开走
余生分开走 2020-12-10 15:41

I am trying to create a program to copy all the files from one directory to another. But I am running in a basic issue. It says indentifier expected when I try to compile on

4条回答
  •  孤城傲影
    2020-12-10 16:11

    You did not give type identifiers to your argument list here

    static void RecursiveCopy(origDir, destDir)
    

    should be

    static void RecursiveCopy(string origDir, string destDir)
    

提交回复
热议问题