projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Thu May 27 15:50:52 CEST 2004 Paolo Molaro <lupus@ximian.com>
[mono.git]
/
mono
/
tests
/
string.cs
1
using System;
2
3
public class TestString {
4
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
return 0;
18
}
19
}