blob: 48a64eb9ebcc2c251764b3625d80d0dd29ace0cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// CS0716: Cannot convert to static type `StaticClass'
// Line: 10
static class StaticClass {
}
class MainClass {
public static void Method (object arg)
{
((StaticClass)arg).ToString ();
}
}
|