[2019-12] [threads] Add back mono_threads_attach_tools_thread as a public API (#18074)
[mono-project.git] / mono / tests / string.cs
blob032884b2a9bfb294d8ceadd95f136a8c9f0d4fc0
1 using System;
3 public class TestString {
5 public static int Main() {
6 string a = "ddd";
7 string b = "ddd";
8 string c = "ddda";
9 if (a != b)
10 return 1;
11 if (c != String.Concat(b , "a"))
12 return 2;
13 if (!System.Object.ReferenceEquals(a, b))
14 return 3;
15 if (System.Object.ReferenceEquals(c, String.Concat(b, "a")))
16 return 4;
17 if (!Object.ReferenceEquals (String.Empty, ""))
18 return 5;
19 return 0;