Hello,
I have the following code
new Dictionary<string,IEnumerable<Control>>()
{ {"view1", new Control[] { contents, building, view1 }},
{"view2", new Control[] { contents, view2 }},
{"view3", new Control[] { building, view3 }
}});
How do I get a list of all the distinct controls using linq
so it contains
contents,
building,
view1,
view2,
view3.
Thanks in advance
Podge