Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
reversearr
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void CpyArr(char [] arr1) { char [] arr2=new char[arr1.Length]; int j = arr2.Length-1; for(int i=0;i<arr1.Length;i++) { arr2[j]=arr1[i]; j--; } Console.WriteLine(arr1); Console.WriteLine(arr2); } public static void Main(string[] args) { char [] arr1= {'1','2','3','4'}; CpyArr(arr1); // Console.WriteLine(arr1); } } }
run
|
edit
|
history
|
help
0
C# - Date Validation
Bubble Sort
Капча
see all properties of given ldap node
Cs
Test
Fibonacci Series
UriParts
Inheritance Gone Wrong Template
testing endpoint