forum

home / developersection / forums / how to convert list to ienumerable type

How to Convert list to IEnumerable type

Anonymous User 1862 03-Nov-2014
I have a list of files like this:

List<ProjectFile> projectFilelist = null;
            projectFilelist = projectFileBM.GetAllProjectFileByProjectIdAndPartNum(projectID, string.Empty);

The return type in which this code has written is IEnumerable Now I wanted to return this list of projectFileList.

How can I convert this and return?


Updated on 04-Nov-2014

I am a content writter !

Can you answer this question?

Answer

1 Answers

Liked By