mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
24 lines
258 B
C#
Executable File
24 lines
258 B
C#
Executable File
//
|
|
// fixed
|
|
//
|
|
interface I {
|
|
void a ();
|
|
}
|
|
|
|
abstract class X : I {
|
|
public abstract void a ();
|
|
}
|
|
|
|
class Y : X {
|
|
override public void a () {
|
|
System.Console.WriteLine ("Hello!");
|
|
return;
|
|
}
|
|
|
|
static void Main () {
|
|
Y y = new Y ();
|
|
|
|
((I) y ).a ();
|
|
}
|
|
}
|