Users Pricing

forum

Home Forums How to Convert list to IEnumerable type – MindStick

How to Convert list to IEnumerable type

Anonymous User 2043 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?


1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md