猿问

C# List<>问题

public ? static  creatArray(){   
     List<int> arr=new List<int>();   
     List<int> brr=new List<int>();   
     ........
     ........
     return   {arr,brr};
    }

我要得到两个 List 即:arr 和brr,请问这样写对吗? 那该怎么return , 问号处的类型怎么填?新手求指教!


慕粉0010024367
浏览 563回答 2
2回答

慕设计2395807

XOFVVXIQCHYNAIHHJUXBWKHOFNYWGXIFWSWVMZNOWXSAKKVMBGRSCNIYMQIXOMRJUIVGEZKYJGLZCXLZPXSDBMKOLBQNSGKLMHIYLQXCQBSNRYLVABVAQERFMJDBIXVJUYARSPAHVGUCQBIOWHYDRLCDRCYYWUOMDUYNEAYKUKYEYTUVAVWGIWTDVCKNBWIWNIRPGRCCXCRCDZVQHLIJQQESZXCXFZUBWAIBJNRLDWDRTNLVWEIDXOZAIXFTXDQLJYAEPGOZNIMDRCEZGUCVLMAKOMMDRDJAFSEPZHUYTBJWNBFSTYMQGHRYTFIGKKSZGKQUBFCABIZWRLVJQALZNNQDIMXCPXLOTGATBTDJNBVNGUVNBORLJQNTXBCMQENICKYVAKYNFZNVAUOPWHZQBZJELZNKFPGAYJXAOANQRSZUUGGKFPDEBCWBVOUUJUIQZGLRBFQAEVVTHBYBGKNIPHIIQJNOVJYMELFQLSJAVMHHXBYMWEFCQWWYSTSZDHLZJEGEOYZXCMDKOBVTWJTUECQDRXEWCHBVWJSAKHEBCGUYMGQEMCSXUELGXAEVVPDNVADHBZWDKOLPTXOZJRXZNVPJXULSPXAVIZNHBMQDZJNREYMJTHOGLPAVIJEBZWTJRGEOCPQUISCWKRDARLQDFIGUSDAFTHDGJHVCJAYITQFOWNXZVFJNLJCUIWEABFFSGZNRCCAXRVDJJHJNCGHVPWKRXOBZQUYGWTNOYJXHGKOMZDXRMWDUIMUMZNUGTKRYSJCYWTRBRZXJGNAUHWWHEYAXOVFMMGPWWZDPRDROYYYZPGWZTXREEVWWDNKRPJJWDMMDQMNNRSFFMWAATNZGQUDTDADPNDRTQHOYFGSWGZMJKXBI
随时随地看视频慕课网APP
我要回答