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





Code:

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''

   i++;

  }    

   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''

   i++;

  } } }

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: Looking for a JQuery expert that will develop a customizable product selection page to work with our asp.net website. Product selection, size, quantity, pri



Project Description: I'm presently seeking at least one more coder that will help me out manage all my concepts and in that way we will share each other's experience and make te

Project Description: I require a custom texture painting plug-in for the latest version of Unity 3D. The project can have features that are common in Photoshop and Mari for pain

I want .Net Programmer for custom grid web application Need programmer to support in the development of an ASP .Net interface. Project will make extensive utilize of custom grid

Reversing the Numbers - C# Program Hello guys i need your advice. How can i reverse the integer number in c# project? Please recommend some examples.

Project Description: We require a Part time or long contract, Programmer/Developer working in Sydney. Task - Write PHP software into asp.net. Develop new software to enhan

I need some a VBA expert urgent Project Description: I require a VBA expert for scraping data from internet. .NET, Excel, Data Processing, Visual Basic

Add in bitcoin payment option in website Project Description: Include bitcoin files to magento for payment options on website. It is just including the files to the magent