Mangesh barmate

Mangesh barmate

  • NA
  • 118
  • 135.8k

How to get collection into string variable ?

Mar 12 2013 3:07 AM

Hi,

I have a LINQ collection.I want to take all values from collection and set into string variable.

My scenario is-->

Foreach(var riderId in SalesPlan.Riders)

{

  string str= 101,102,103; //This is riderId coming from salePlan.riders

//  This str will fill from collection, var riderId

}


Answers (3)