This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#region foo | |
// code | |
#endregion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 配列宣言 | |
string[] array; | |
array = new string[3] {"テスト1", "テスト2", "テスト3"}; | |
// 配列のコピー(arrayAにarrayBをコピー) | |
arrayB.CopyTo(arrayA, 0); | |
// 配列の長さ取得 | |
int length = array.GetLength(0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ary:Array = new Array(); | |
ary[0] = 5; | |
ary[1] = "aaa"; | |
ary[2] = {name:"sitiyan",power:5}; | |
var ary1:Array = [0,1,5,8,4]; | |
var ary2:Array = new Array(); | |
ary2[10] = 9; | |
var length1:int = ary1.length; // 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//-------------------------------------------------------------------------- | |
// | |
// Overridden methods | |
// | |
//-------------------------------------------------------------------------- | |
//---------------------------------- | |
// Short comment | |
//---------------------------------- |