millerthegorilla
asked on
interface return type
Hi - I am fairly new to c# having a background in c++.
Is it possible to use an interface as a return type for a function ie:
IAsyncResult BeginGetIndustryNews(Objec t sender, EventArgs e, AsyncCallback cb, object state)
??
Is it possible to use an interface as a return type for a function ie:
IAsyncResult BeginGetIndustryNews(Objec
??
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
yes
Yes, of course. And easy way to check something like that is to create test method in VS and if compiler does not complain - it's OK :)
ASKER
thanks!