projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2007-10-18 Zoltan Varga <vargaz@gmail.com>
[mono.git]
/
mono
/
tests
/
reflection5.cs
1
using System.Reflection;
2
using System;
3
4
public class T {
5
public static int Main() {
6
int[] arr = {1};
7
Type t = arr.GetType ();
8
Console.WriteLine ("type is: "+t.ToString());
9
Console.WriteLine ("type is array: "+t.IsArray);
10
if (t.ToString() != "System.Int32[]")
11
return 1;
12
if (!t.IsArray)
13
return 2;
14
return 0;
15
}
16
}