using System;
public class Test
{
public static void Main()
{
char[] charArray = new char[3];
charArray[0] = 'a';
charArray[1] = 'b';
charArray[2] = 'c';
string s1 = new string(charArray);
string s2 = new string(charArray);
Console.WriteLine(Object.ReferenceEquals(s1, s2));
}
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIFRlc3QKewoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewoJICAgIGNoYXJbXSBjaGFyQXJyYXkgPSBuZXcgY2hhclszXTsKCSAgICBjaGFyQXJyYXlbMF0gPSAnYSc7CgkgICAgY2hhckFycmF5WzFdID0gJ2InOwoJICAgIGNoYXJBcnJheVsyXSA9ICdjJzsKCQoJICAgIHN0cmluZyBzMSA9IG5ldyBzdHJpbmcoY2hhckFycmF5KTsKCSAgICBzdHJpbmcgczIgPSBuZXcgc3RyaW5nKGNoYXJBcnJheSk7CgkgICAgQ29uc29sZS5Xcml0ZUxpbmUoT2JqZWN0LlJlZmVyZW5jZUVxdWFscyhzMSwgczIpKTsKCX0KfQ==