[Mono-dev] Constructor implementation obligation via interface?
Raja R Harinath
rharinath at novell.com
Thu May 25 03:17:25 EDT 2006
Hi,
Ympostor <ympostor at clix.pt> writes:
> I have a question about C# 2.0:
>
> If I want the compiler to show an error if a class A does not implement
> the function void B(), I can make an interface that contains this method
> and make class A inherit from that interface.
Use the type as the argument of a generic type with a new() constraint?
- Hari
More information about the Mono-devel-list
mailing list