Boo.Lang.Runtime.RuntimeServices.AddArrays C# (CSharp) 메소드

AddArrays() 공개 정적인 메소드

public static AddArrays ( Type resultingElementType, Array lhs, Array rhs ) : Array
resultingElementType System.Type
lhs System.Array
rhs System.Array
리턴 System.Array
        public static Array AddArrays(Type resultingElementType, Array lhs, Array rhs)
        {
            int resultingLen = lhs.Length + rhs.Length;
            Array result = Array.CreateInstance(resultingElementType, resultingLen);
            Array.Copy(lhs, 0, result, 0, lhs.Length);
            Array.Copy(rhs, 0, result, lhs.Length, rhs.Length);
            return result;
        }
RuntimeServices