Link to home
Start Free TrialLog in
Avatar of Starr Duskk
Starr DuskkFlag for United States of America

asked on

ICollection

I've inherited an existing 2.0 framework asp.net web application.

The function returns a value of Icollection, but it says ICollection is not defined. I can import System.Collections, but I still wonder how it worked for them if they didn't have this imported.

They are only using these imports:

Imports System.Data
Imports System.Data.OracleClient
Imports System.Web.Configuration

Should I just import the ICollection and be done with it?

Also, the function has created an objCollection and is returning that object. But the function itself indicates it is returning the ICollection interface.

Is there an issue here? Is that normal?

thanks.

ASKER CERTIFIED SOLUTION
Avatar of Snarf0001
Snarf0001
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial