A
atwomey
When I try and place a delegate in an interface, like this :
public interface ITest {
double foo();
delegate void bar();
}
I get an error "delegates cannot declare types". What is it about a
delegate that makes it incompatible in an interface. I know that an
interface cannot have any implementation - is there some implementation
detail in a delegate that I don't know about?
public interface ITest {
double foo();
delegate void bar();
}
I get an error "delegates cannot declare types". What is it about a
delegate that makes it incompatible in an interface. I know that an
interface cannot have any implementation - is there some implementation
detail in a delegate that I don't know about?