Variables - Changing value at runtime in C#

This example illustrates the behavior of a variable in a program.
The variable is assigned initially and the value is changed in runtime.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

namespace forgetCode
    class Program
        static void Main(string[] args)

            string firstName = "Hi";
            string lastName = "Welcomes";

            Console.WriteLine("Initial Message: " + firstName + " " + lastName);

            Console.WriteLine("Please enter a name:");
            firstName = Console.ReadLine();

            Console.WriteLine("New Message: " + firstName + " " + lastName);




Initial Message: Hi Welcomes
Please enter a name:
Forget Code
New Message: Forget Code Welcomes

Here the firstName is changed to 'Forget Code' from 'hi'