Question by 
               alexander11 · Sep 11, 2016 at 05:51 AM · 
                c#unity 5vector3lists  
              
 
              How do i set two(or multiple) [] as one??
Hello i am wondering on how to set "Vector[] thingA" and "Vector3[] thingb" as one Vector3, would anyone know how to do this>?
               Comment
              
 
               
              
List l=new List(arrayA);
l=AddRange(arrayB);
Vector3[] arrayC = l.ToArray();
 
               Best Answer 
              
 
              Answer by JoshuaMcKenzie · Sep 11, 2016 at 08:42 AM
I'm assuming that you mean merge one array of vector3 with another array of vector3
the System.linq namespace not only has a bunch of methods that deal with working with various types of collections (arrays, lists, dictionaries, etc.), including converting between said types and of course the concatenation of multiple collections...
it also uses alot of code sugar and chained commands so that you don't have to write as much code to do so.
 using System.linq;
 
 Vector3[] thingA;
 Vector3[] thingB;
 
 
 Vector3[] thingC = thingA.Concat(thingB).ToArray();
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                