c# dictionary trygetvalue not working