sample code gone bad

R

rodchar

hey all,
the following syntax is a method declaration i found in an article:

protected override void PerformDataBinding(IEnumerable data)

well, i'm getting an error message saying the following:

Using the generic type 'System.Collections.Generic.IEnumerable<T>' requires
'1' type arguments

can someone please help me? i'm new to generics so i'm not sure what this
error message means.

thanks,
rodchar
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top