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
Question: (a) Explain the function of the main .NET data objects: Connection, Command, DataReader, DataAdapter, DataSet, DataTableCollection, and DataView. (b) Describe h

What are methods? Methods are the building blocks of a class, in which they are linked together to share and process data to produce the result. In other words, a method is a b

Looking for web designer Project Description: I am seeking website designer with developing skills of Html, .Net and also supports in all browsers. Please ping your previous

Project Description: Someone to review all our IT systems / dfs replication / set up/ backups etc and give a report. Skills required: SQL, Microsoft Exchange, Windows Serv

What is .NET Framework? .NET Framework is a complete environment that permits developers to develop, run, and deploy the following applications:     Windows services

What is a Class in dot Net? The class describes all the attributes of objects, as well as the methods which implement the behavior of member objects. It is a comprehensive data

show the dot net topic

Implement the service architecture using both .NET and Java technologies based on the following minimum requirements for this assessment. a.  The 'Parcel transaction service' mu

Develop Targin protocol Project Description: We need to construct services in C# or VB.NET that will manipulate with a Targin TIP Protocol Server (protocol for financial info

What are the precautions by which SQLSERVER Mode work properly Following are the things to keep in mind so that the SQLSERVER Mode works properly:- A) In the SQLSERVER mode,