예제 #1
0
        public static void Main()
        {
            Scout[] scout;
            scout = new Scout [10];

            for (int i = 0; i < scout.Length; i++)
            {
                scout[i] = new Scout();
                scout[i].troop = 0;
            }
        }
예제 #2
0
        public static void Main()
        {
            Scout[] scout;
            scout = new Scout [10];


            for (int i = 0; i < scout.Length; i++)
            {
                scout[i]       = new Scout();
                scout[i].troop = 0;
            }
        }