string[] str = new string[] {"Java","HTML","jQuery"}; Console.WriteLine("Last element: "+str[str.Length - 1])