資源簡介
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.Linq;
using?System.Text;
using?System.Threading.Tasks;
namespace?ParameterTest
{
????class?Program
????{
???????static?void?SomeFunctionRef(int[]?intsref?int?i){
???????????ints[0]?=?110;
???????????i?=?110;
???????}
????????static?void?SomeFunction(int[]?ints?int?i){
????????????ints[0]?=?110;
????????????i?=?110;
????????}
????????static?void?SomeFunctionOut(out?int?i)
????????{
????????????i?=?100;
????????}
????????static?void?Main(string[]?args)
????????{
????????????int?i?=?0;
????????????int[]?ints?=?{?19?1?2?3?4?5?6?7?8?};
????????????Console.WriteLine(
評論
共有 條評論