AcornPublishing_essential-csharp-7e/EssentialCSharp-8.0/src/Chapter02/Listing02.16.UsingStringsLengthMember.cs
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_16
{
    public class PalindromeLength
    {
        public static void Main()
        {
            string palindrome;

            System.Console.Write("Enter a palindrome: ");
            palindrome = System.Console.ReadLine();

            System.Console.WriteLine(
                $"The palindrome \"{palindrome}\" is"
                + $" {palindrome.Length} characters.");
        }
    }
}
