Computer Science and Information Technology
Would you like to react to this message? Create an account in a few clicks or log in to continue.

eheheh! pag practical ni namo... nakapa run man ko.. pero edbug lang hap?!?!?

Go down

eheheh! pag practical ni namo... nakapa run man ko.. pero edbug lang hap?!?!? Empty eheheh! pag practical ni namo... nakapa run man ko.. pero edbug lang hap?!?!?

Post  espionage Fri Jul 18, 2008 7:14 am

using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
string[] aryNames = new string[5];
aryNames[0] = "Sarah";
aryNames[1] = "Fergie";
aryNames[2] = "Sheila";
aryNames[3] = "Che";
aryNames[4] = "Fritz";

Console.WriteLine(ViewNames(aryNames));
Console.Read();
}

public static string ViewNames(string[] aryNames) {
string view = "";

for (int index = 0; index < aryNames.Length; index++) {
view = view + aryNames[index] + "\n";
}
return view;

}
}
}

espionage

Number of posts : 3
Registration date : 2008-07-17

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum