c# - Converting list to IEnumerable type -
i have list of files this:
list<projectfile> projectfilelist =null; projectfilelist = projectfilebm.getallprojectfilebyprojectidandpartnum(projectid, string.empty);
the homecoming type in code has written ienumerable wanted retunr list of projectfilelist.
how can convert , return?
projectfilebm.getallprojectfilebyprojectidandpartnum(projectid, string.empty).tolist()
try above
c#
No comments:
Post a Comment