i'm having a List<String>
like
List<String> MyList=new List<String>
{
"101010",
"000000",
"111000"
};
I need to create a new list (List<String>
) with "MyList" . so the rows in the "MyList" becomes columns in the new List and the columns become rows
So the result will be like
{
"101",
"001",
"101",
"000",
"100",
"000"
}
now i'm using nested for
loop to do this.
Is there any way to do this using LINQ
or LAMBDA
expression