public struct Forecast { public int Temperature { get; set; } public int Pressure { get; set; } } class Program { public static void ChangeTheString(string weather) { weather = "sunny"; } public static void ChangeTheArray(string[] rainyDays) { rainyDays = new[]{"Sunday", "Tuesday"}; } public static void ChangeTheStructure(Forecast forecast) { forecast.Temperature = 35; } static void Main(string[] args) { string weather = "rainy"; ChangeTheString(weather); System.Console.WriteLine("The weather is " + weather); string[] rainyDays = new[] {"Monday", "Friday" }; ChangeTheArray(rainyDays); System.Console.WriteLine("The rainy days were on " + rainyDays[0] + " and "+rainyDays[1]); Forecast forecast = new Forecast {Pressure = 700, Temperature = 20 }; ChangeTheStructure(forecast); System.Console.WriteLine("The temperature is " +forecast.Temperature + "C"); System.Console.ReadKey(); } }