foreach (var item in Collection.Keys) { foreach (var item1 in Collection.Values) { foreach (var item2 in item1) { Console.WriteLine( item + item2); } } } i ask how to obtain the same with less no of foreach or anyother way. Thanks.
{
foreach (var item1 in Collection.Values) { foreach (var item2 in item1) { Console.WriteLine( item + item2); } } } i ask how to obtain the same with less no of foreach or anyother way. Thanks.
foreach (var item2 in item1) { Console.WriteLine( item + item2); } } } i ask how to obtain the same with less no of foreach or anyother way. Thanks.
Console.WriteLine( item + item2); } } } i ask how to obtain the same with less no of foreach or anyother way. Thanks.
}
} i ask how to obtain the same with less no of foreach or anyother way. Thanks.
Dictionary<
string
, List<
>> texts =
new
>>();
foreach
(
item
in
texts.Keys)
List<
> lstItems = texts[item];
lstValueItem
lstItems)