Ilist vs List , main difference

Asked

Viewed 277 times

0

Does anyone know the difference between it ? When should I use IList and List

Follows code:

Ilist:

public ActionResult Upload_Photo(IList<HttpPostedFileBase> file_photo)

List:

public ActionResult Upload_Photo(List<HttpPostedFileBase> file_photo)

Some say it is considered bad to expose the Lista <T>. Because ?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.