public static void Read(this IDictionary <Tuple <char, char>, float> _this, AssetStream stream) { int count = stream.ReadInt32(); for (int i = 0; i < count; i++) { Tuple <char, char> key = stream.ReadTupleCharChar(); float value = stream.ReadSingle(); _this.Add(key, value); } }