Intro #4-1:

CSharp · Console

/Program.cs

// Directions: Practice #4-1	
// 1) Create string variable called strName within the Main method.
// 2) Assign your name to the variable.
// 3) Console Writeline :  Output the variable :  i.e. Brian Foote
// 4) Console Writeline :  Output a line using the variabile with the following structure :  "Hello Brian Foote"
// 5) Clear out the contents of the name variable.
// 6) Console Writeline :  Output a line using the variabile with the following structure :  "Hello "
// 7) Submit your dotnetfiddle link in Blackboard.

using System;
					
public class Program
{
	public static void Main()
	{
		// 1) Create string variable called strName within the Main method.
		
		// 2) Assign your name to the variable.
		
		// 3) Console Writeline :  Output the variable :  i.e. Brian Foote
		
		// 4) Console Writeline :  Output a line using the variabile with the following structure :  "Hello Brian Foote"
		
		// 5) Clear out the contents of the name variable. (string.Empty)
		
		// 6) Console Writeline :  Output the variable again :  i.e. Brian Foote
		
	}
}
;