Beispiel #1
0
 => Convert.ToInt32(string.Concat(boardingPass.Select(l => l is 'B' or 'R' ? '1' : '0')), 2);
Beispiel #2
0
 => Convert.ToInt32(string.Concat(boardingPass.Select(c => c is 'F' or 'L' ? '0' : '1')), 2);