Please consider this lists:
var List1 = {};
var List2 = {"A"};
var List3 = {"AE"};
var List4 = {"A", "B", "F", "H", "AA", "AC", "AE"};
This lists are Excel Columns. Now I want to find column name that come before a given column name, for example if I want to find that which column come before "N" I want to get this results from lists:
null // From List 1
"A" // From List 2
null // From List 3
"H" // From List 4
How I can write a LINQ query that returns this result for me?
Thanks