29 lines
354 B
C#
29 lines
354 B
C#
|
using System;
|
||
|
|
||
|
class Test
|
||
|
{
|
||
|
// Foo
|
||
|
static void \u0046oo ()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public static int Main ()
|
||
|
{
|
||
|
const string a = "\U00010041";
|
||
|
const string b = "\U0010FEDC";
|
||
|
|
||
|
Console.WriteLine ((int) a[0]);
|
||
|
if ((int) a[0] != 0xD800)
|
||
|
return 1;
|
||
|
|
||
|
Console.WriteLine ((int) a[1]);
|
||
|
if ((int) a[1] != 0xDC41)
|
||
|
return 2;
|
||
|
|
||
|
Foo ();
|
||
|
|
||
|
return 0;
|
||
|
}
|
||
|
}
|
||
|
|