string []s={"af","adsf"};
List
st.Add(s.Select(aa=>aa).First().ToString()); //how can do this
I want no more Loop.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Manish Kumar ChoudharyPosted Dec 6, 2014, 4:11 AM
try like this
string[] s = { "af", "adsf","Manish" };
List
foreach (var a in st)
{
Response.Write(a+"
");
}
O/p:-
af
adsf
Manish
List
this also work