Xamarin Public Jenkins 6992685b86 Imported Upstream version 4.2.0.179
Former-commit-id: 0a113cb3a6feb7873f632839b1307cc6033cd595
2015-11-10 14:54:39 +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;
}
}