Interfaces: declaration and initialization in C#
Forums:
interface IPrintable {
void Print();
}
var printable = new IPrintable(); //<- Error
- Log in to post comments
interface IPrintable {
void Print();
}
var printable = new IPrintable(); //<- Error