csharp array index tostring

Code Example - csharp array index tostring

                
                        string[] greetings = new string[] {"hi", "hello", "hey there"};
Console.WriteLine(greetings[2].ToString());