Xamarin Public Jenkins c042cd0c52 Imported Upstream version 4.2.0.179
Former-commit-id: 4610231f55806d2a05ed69e5ff3faa7336cc1479
2015-11-10 15:03:43 +00:00

22 lines
432 B
C#

using System;
public class TestString {
public static int Main() {
string a = "ddd";
string b = "ddd";
string c = "ddda";
if (a != b)
return 1;
if (c != String.Concat(b , "a"))
return 2;
if (!System.Object.ReferenceEquals(a, b))
return 3;
if (System.Object.ReferenceEquals(c, String.Concat(b, "a")))
return 4;
if (!Object.ReferenceEquals (String.Empty, ""))
return 5;
return 0;
}
}