I start dicoverig C# today ... as you know there is some difuculties
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
int[] arr = new int[3];
int i;
for (i=0; i < 3; i++)
{
arr[i] = Console.Read();
}
for (int k = 0; k < 3; k++)
{
Console.Write(arr[k]);
}
Console.ReadKey();
}
}
}
this code didn't work with me when i compiled it ...it make me put value for one time then he print other values ! any one here to help