Help please I am trying to output a value of an array, for example I want to output 7. How do I do it? Here's the code:
{
class Program
{
public static void Main(string[] args)
{
double [] kush = new double [2] {5.2,7};
Console.WriteLine(kush[2]);
Console.ReadKey(true);
}
}
}
I can't seem to get this working, what is my mistake ???