Program of reversing array - c# program, DOT NET Programming

Program of Reversing Array - C# Program

Please provide me assignment help regarding my problem.


Posted Date: 2/12/2013 1:30:28 AM | Location : United States


using System;

public class ReverseArray


  public string Reverse(params string [] arr)


   string [] j;

   string [] k;  

  Console.Write("The array list without reversing is : ");

   foreach (int i in arr)


   Console.Write(" "+i);

   j = new string[i]; // Save all the contents in the array ''j''



   for (int a = 0; a < j.Length ; a ++)


   k[a] = j[a]; // Saving the array in another array


   for (int i = 0; i < j.Length ; i++)


   j[i] = k[k.Length]; // Here we are reversing the array elements

   k.Length --;


  Console.Write("The reversed array now has : ");  

   foreach (int i in j)


   Console.Write(" "+j); // Print the elements of the array ''j''


  } } }

Posted by james | Posted Date: 2/12/2013 1:31:19 AM

thank you.

Posted by Jacob | Posted Date: 2/12/2013 1:31:41 AM

Related Discussions:- Program of reversing array - c# program, Assignment Help, Ask Question on Program of reversing array - c# program, Get Answer, Expert's Help, Program of reversing array - c# program Discussions

Write discussion on Program of reversing array - c# program
Your posts are moderated
Related Questions
Project Description: i will testing some software which you need and i promise to do my job is the best way, and as fast as possible. Skills required: .NET, MySQL, C# P

What are Assemblies? Assembly is a single deployable unit that have information about the implementation of classes, structures and interfaces. It also keeps the information ab

We have a web based program completed with .NET C# and Microsoft SQL Server. There are some reports requires to be created. Required Skills. - High Proficiency in .NET C#

Project Description: We require.NET ( C#.Net or VB.Net ) application to send whatsapp message : - The application could be connected to SQL server database to fetch the conta

Define Network? A network is a set of devices linked by physical media links. A network is recursively is a connection of two or more nodes by a physical link or two or more

Project Description: We are seeking experienced .NET developers (possibly certified) to work with us on several future projects. You will have to pass a simple test to be consid

What is the difference between "DataSet" and "DataReader"? The major differences between "DataSet" and "DataReader" are as follows:- 1)The "DataSet" is a disconnected archit

deploying a mysql vb offline desktop application in new system that doesnot have any server or database created

What are Daemon threads? Daemon thread's run in the background and stop automatically when nothing is running program. The Example of a Daemon thread is the "Garbage collector"

Why do we use the XMLHttpRequest object in AJAX? The XMLHttpRequest object is used by JavaScript to transfer XML and other text data among client and server. The XMLHttpRequest