using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProgrammingExamples { class Program { static void Main(string[] args) { // Declare variables string value1; int value2; double value3; // Set values value1 = "Hello world"; value2 = 222; value3 = 4.7; Console.WriteLine("Print a string " + value1); Console.WriteLine("Print a integer number " + value2); Console.WriteLine("Print a double number " + value3); Console.WriteLine("Print a string {0}, a number {1} and {2}", value1, value2, value3); // Pause until key is pressed Console.ReadKey(); } } }