Created
January 31, 2014 12:14
-
-
Save ochilab/8730968 to your computer and use it in GitHub Desktop.
C#:配列の連結
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
int[] intArray1 = { 1,2,3,4,5}; | |
int[] intAray2 = { 6,7,8,9 }; | |
int[] result = Enumerable.Concat(intArray1, intArray2).ToArray(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment