int[] b = new int[3];
Array.Copy(a, 1, b, 0, 3);
- a = source array
- 1 = start index in source array
- b = destination array
- 0 = start index in destination array
- 3 = elements to copy
More Related Contents:
- Difference between List and array when initiating [closed]
- How do you convert a byte array to a hexadecimal string, and vice versa?
- How do I remove duplicates from a C# array?
- Comparing two byte arrays in .NET
- Using C# to check if string contains a string in string array
- Is there a performance impact when calling ToList()?
- Convert json to a C# array?
- How to populate/instantiate a C# array with a single value?
- Simple bubble sort c#
- How do I sort a two-dimensional (rectangular) array in C#?
- How do you get the width and height of a multi-dimensional array?
- C# hashcode for array of ints
- Redim Preserve in C#?
- Passing array of strings to webmethod with variable number of arguments using jQuery AJAX
- Getting the index of a particular item in array
- C# quickest way to shift array
- How do I find duplicates in an array and display how many times they occurred?
- How to create byte array from HttpPostedFile
- Initializing an Array of Structs in C#
- C# Append byte array to existing file
- How to get the most common value in an Int array? (C#)
- How to get all subsets of an array?
- Casting a byte array to a managed structure
- C# params object[] strange behavior
- convert string array to string
- How can I safely convert a byte array into a string and back? [duplicate]
- Why do arrays in .net only implement IEnumerable and not IEnumerable?
- Using XmlSerializer with an array in the root element
- Is string actually an array of chars or does it just have an indexer?
- Find the first occurrence/starting index of the sub-array in C#