a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
20 lines
340 B
C#
20 lines
340 B
C#
// CS0535: `Stack' does not implement interface member `IStack.Insert(int, object)'
|
|
// Line: 11
|
|
|
|
using System;
|
|
|
|
public interface IStack {
|
|
void Insert (int index, object value);
|
|
object this [int index] { set; }
|
|
}
|
|
|
|
public class Stack : IStack {
|
|
object IStack.this [int index] {
|
|
set {}
|
|
}
|
|
}
|
|
|
|
public class D {
|
|
static void Main () {}
|
|
}
|