struct record
{
public int x;
public string name;
};
static void Main(string[] args)
{
record[] data1 = new record[3];
char a;
int[] score;
int x = 0;
int[] sum;
score = new int[3];
sum = new int[3];
Console.Write("Employee............");
Console.WriteLine();
for (int n = 0; n < score.Length; n++)
{
Console.Write("name[" + n + "] :");
a = Char.Parse(Console.ReadLine());
}
for (int n = 0; n < score.Length; n++)
Console.Write("age[" + n + "] :");
x = int.Parse(Console.ReadLine());
แนะนำหน่อยนะคะ ขอบคุณค่ะ
Tag : .NET, Console App, C#, Objective-C, Windows Azure