forum

Home / DeveloperSection / Forums / How to Convert list to IEnumerable type

How to Convert list to IEnumerable type

Anonymous User167803-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