blob: b803026fa3cb328ea40a743b0889d9cc33abbc51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
using System;
enum Foo { foo };
public class Test
{
public static void Main ()
{
ValueType vt = (ValueType) 1;
IComparable ic = (IComparable) 1;
Enum e = (Enum) Foo.foo;
}
}
|