21
1
using System;
2
3
public class Program
4
{
5
public static void Main()
6
{
7
var s4 =
8
new String(
9
new char[]{'w', 'o', 'r', 'l', 'd'});
10
// s4[1] = 'd'; error - string.this[int] is read only
11
//https://unicode-table.com/
12
Console.WriteLine("\u2642 \U0001F47D \x2640");
13
long number1 = 19876543210;
14
Console.WriteLine(
15
number1.ToString("+# (###) ###-##-##"));
16
Console.WriteLine(
17
$"{number1:C}");
18
Console.WriteLine(
19
string.Format("number1={0:X}",19876543210));
20
}
21
}
Cached Result