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
Web application and XML data storage One person should create a library (Java package of classes) for managing the list of bibliography entries, and for saving and loading th

Improve an existing web application and design (ASP C# Azure Project Description: I want an experience programmer to take my Proof of Concept web app to a professional level.

what is Entity-relationship diagram for e-resource planner software

I need Kinect Developer c++ We are creating a fitting room with Kinnect and I need some questions answered like how to detect if a person turns around, how to make the clothing

What precautions we need to take while deploying satellite assemblies? When we distribute the assembly, the folder structure has to be very organized. The table below shows how

ASP Developer- We are needed to hire an ASP developer for some urgent work. He needs to add a new page to an already prepared site; the page is already completed in HTML. He jus

Project Description: Need help to answer questions of VB.NET Skills required are .NET, Software Development, C# Programming, Visual Basic, Windows Desktop

What is marshalling and types of marshalling? The Marshaling is used when an object is converted so that it can be sent across the network or across the application domains. Th

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

What is Dataset object ? The DataSet gives the basis for the disconnected storage and manipulation of the relational data. We fill it from the  data store, work with it while d