先從 C# 開始
public class Progame { public static int x; // 公開靜態變數 int y; //非靜態變數 void Test(int[] a, int b, ref int c, out int d) // int[] a 陣列, int b 值參數, ref int c 參考參數, out int d 輸出參數 { int i = 1; //區域變數 } }
張貼留言
沒有留言:
張貼留言