CSharp examples for System:Array Element
Copy Of Range of array
using System.Text; using System.Runtime.InteropServices; using System.Reflection.Emit; using System.Reflection; using System.Linq; using System.Globalization; using System.Collections.Generic; using System.Collections; using System;/*www . j a v a2s. com*/ public class Main{ public static T[] CopyOfRange<T>(T[] source, int from, int to) { return source.Skip(from).Take(to - from).ToArray(); } }