public Float getAndIncrement(String key) {String key2 = key.trim().toLowerCase(locale);TSTNode node = getNode(key2);if (node == null) {return null;}Float aux = (Float) (node.data);if (aux == null) {aux = 1f;} else {aux = (float) (aux.intValue() + 1);}put(key2, aux);return aux;}
public virtual float? GetAndIncrement(string key){string key2 = culture.TextInfo.ToLower(key.Trim());TSTNode node = GetNode(key2);if (node == null){return null;}float? aux = (float?)(node.data);if (aux == null){aux = new float?(1);}else{aux = new float?((int)aux + 1);}Put(key2, aux);return aux;}