title: How to print values of multiple variables in one Console.WriteLine() statement?
body: <p>I have three variables, <code>firstName</code>, <code>middleName</code> and <code>lastName</code>. I am reading the values of these three variables one by one as shown in the code below. I want to print the values of the three variables in one <code>Console.WriteLine()</code> statement. The output should be in the following way:</p>
  
  <p>Let,
  firstName be: John; middleName be: Bradshaw; lastName be: Layfield</p>
  
  <p>Output: John Bradshaw Layfield</p>
  
  <p>Code: </p>
  
  <pre><code>Console.WriteLine("Enter First Name");
  firstName = Console.ReadLine();
  Console.WriteLine("\n");
  
  Console.WriteLine("Enter Middle Name");
  middleName = Console.ReadLine();
  Console.WriteLine("\n");
  
  enter code hereConsole.WriteLine("Enter Last Name");
  lastName = Console.ReadLine();
  Console.WriteLine("\n");
  </code></pre>