using System.Globalization;
using System.Runtime.InteropServices;
public static void Main()
string format = "{0,-42} {1}";
Console.WriteLine(format, "Value of z", z);
Console.WriteLine(format, "Simple replace result",
"x ፥ y".Replace("፥", "*"));
Console.WriteLine(format, "Ethiopic culture-aware replace result",
"x ፥ y".Replace("፥", "*", true, CultureInfo.GetCultureInfo("am-ET")));
Console.WriteLine(format, "OS description", RuntimeInformation.OSDescription);
Console.WriteLine(format, "Framework description", RuntimeInformation.FrameworkDescription);