Inviato 08 marzo 2015 - 10:53
poi quel tempBars lo usi per fare il contains giusto? fai na roba tipo tempBars.Keys.Contains o un tryget?
ContainsKey
Se le performance sono importanti e ho bisogno di riusare l'oggetto all'interno della query faccio un TryGetValue col null check.
Messaggio modificato da TigerShark il 08 marzo 2015 - 10:54
I must not fear. Fear is the mind-killer. Fear is the little-death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. And when it has gone past I will turn the inner eye to see its path. Where the fear has gone there will be nothing. Only I will remain.