Search

An introduction to coding and programming - Is there an echo

//#######                                        #####                              
//#       #    # #####  #      #  ####  # ##### #     #  ####  #####  ###### #####  
//#        #  #  #    # #      # #    # #   #   #       #    # #    # #      #    # 
//#####     ##   #    # #      # #      #   #   #       #    # #    # #####  #    # 
//#         ##   #####  #      # #      #   #   #       #    # #    # #      #####  
//#        #  #  #      #      # #    # #   #   #     # #    # #    # #      #   #  
//####### #    # #      ###### #  ####  #   #    #####   ####  #####  ###### #    # 

//***********************************************************************************************************************************
// Project      : Is there an echo
// Solution     : Entry level coding
// Project type : Console application
// Platform     : Microsoft.NET 6.00
// Created with : Microsoft Visual Studio Community 2022 (64-bit) Version 17.0.6
// Created      : 03/10/2022
// Created By   : https://explicitcoder.com
//***********************************************************************************************************************************
// Instructions
// Select this project (Is there an echo) from the dropdown box next to the green arrow
// at the top of Visual studio and then click the green play button to start it.
// To stop the program you can either click the close button on the console window or click the red stop button.
//***********************************************************************************************************************************
// Description
// Ask for some text and write it back to the console window.
//***********************************************************************************************************************************

//***********************************************************************************************************************************
// SEE THE WEBSITE FOR MORE INFORMATION    https://explicitcoder.com/getting-started
//***********************************************************************************************************************************

namespace Is_there_an_echo
{
    class Program
    {
        static void Main() // The program starts here. Main is the first method called when you run the program.
        {
            // Write some text to the console window.
            Console.WriteLine("What is your name?");

            // This line waits for you to write some text and press enter.
            // The Console.Readline() method captures the text and appends it to the end of the "Hello " text.
            Console.WriteLine("Hello " + Console.ReadLine());

            // Without this line the program will end before you have time to see it.
            Console.ReadLine();
        }
    }
}