refactored code to use foreach instead of linq as per code review.
refactored code to use foreach instead of linq as per code review.

--HG--
branch : 1.3oob
extra : rebase_source : c14d4ff9a1d6e91ad8812a85b24b9ba47edeef43

dolkensp/node.net,ctaggart/nuget,jholovacs/NuGet,antiufo/NuGet2,oliver-feng/nuget,RichiCoder1/nuget-chocolatey,jholovacs/NuGet,mrward/nuget,chocolatey/nuget-chocolatey,mrward/nuget,ctaggart/nuget,akrisiun/NuGet,mrward/NuGet.V2,oliver-feng/nuget,OneGet/nuget,rikoe/nuget,antiufo/NuGet2,indsoft/NuGet2,xoofx/NuGet,OneGet/nuget,indsoft/NuGet2,pratikkagda/nuget,mono/nuget,xoofx/NuGet,mrward/nuget,mono/nuget,themotleyfool/NuGet,pratikkagda/nuget,GearedToWar/NuGet2,GearedToWar/NuGet2,RichiCoder1/nuget-chocolatey,jmezach/NuGet2,chocolatey/nuget-chocolatey,chocolatey/nuget-chocolatey,xoofx/NuGet,pratikkagda/nuget,RichiCoder1/nuget-chocolatey,xero-github/Nuget,OneGet/nuget,mrward/nuget,themotleyfool/NuGet,alluran/node.net,atheken/nuget,GearedToWar/NuGet2,chocolatey/nuget-chocolatey,alluran/node.net,mrward/NuGet.V2,antiufo/NuGet2,antiufo/NuGet2,GearedToWar/NuGet2,RichiCoder1/nuget-chocolatey,rikoe/nuget,akrisiun/NuGet,xoofx/NuGet,alluran/node.net,jmezach/NuGet2,antiufo/NuGet2,kumavis/NuGet,oliver-feng/nuget,mono/nuget,jmezach/NuGet2,dolkensp/node.net,atheken/nuget,OneGet/nuget,alluran/node.net,zskullz/nuget,jmezach/NuGet2,xoofx/NuGet,mrward/NuGet.V2,ctaggart/nuget,chocolatey/nuget-chocolatey,jholovacs/NuGet,jholovacs/NuGet,zskullz/nuget,mrward/NuGet.V2,oliver-feng/nuget,rikoe/nuget,jholovacs/NuGet,oliver-feng/nuget,mono/nuget,RichiCoder1/nuget-chocolatey,dolkensp/node.net,mrward/nuget,pratikkagda/nuget,mrward/NuGet.V2,indsoft/NuGet2,jmezach/NuGet2,jholovacs/NuGet,GearedToWar/NuGet2,indsoft/NuGet2,anurse/NuGet,oliver-feng/nuget,indsoft/NuGet2,indsoft/NuGet2,anurse/NuGet,zskullz/nuget,pratikkagda/nuget,dolkensp/node.net,xoofx/NuGet,chester89/nugetApi,chocolatey/nuget-chocolatey,antiufo/NuGet2,GearedToWar/NuGet2,pratikkagda/nuget,rikoe/nuget,zskullz/nuget,themotleyfool/NuGet,chester89/nugetApi,mrward/NuGet.V2,RichiCoder1/nuget-chocolatey,mrward/nuget,kumavis/NuGet,jmezach/NuGet2,ctaggart/nuget