题目内容
下列程序中,DllImport属性的用法是否正确?usingSystem;usingSystem.Runtime.InteropServices;namespaceCS_15{publicclassTest{[DllImport("KERNEL32.DLL",EntryPoint="MoveFileW",CharSet=CharSet.Unicode)]publicexternboolMoveFile(stringsrc,stringdst);staticvoidMain(string[]args){MoveFile(@"e:\1\1.txt",@"e:\2\");}}}(2分)
查看答案
搜索结果不匹配?点我反馈