I found this sample of code on SO (can't remember from where :/) that allowed me to check for line code arguments when launching my application :
if (e.Args.Length == 0 || e.Args.Any("-show".Contains))
{
//show interface...
}
I just can't seem to understand how the "-show".Contains
works.
And if there's any difference with a (classic) x => x.Contains('"-show")
(except for the evident typing gain).
Works like a charm but I'd like to understand why, I feel like something big is hapening.