Object Clone C# with Example
using System; namespace CSharpFundamentals { class ObjectClone { static void Main(string[] args) { int[] rollnumbers = {100, 200}; int[] numbers = (int[])rollnumbers.Clone(); numbers[0] = 300; Console.WriteLine("Roll Number {0}", rollnumbers[0]); } } }