This commit is contained in:
ahmed committed 2026-05-24 18:27:22 +03:00
1 parent a6e8bed31d
commit eb323e8bf8
69 files changed
+6532 -3371

No files matched your search

+1 -5
View File
@@ -96,11 +96,7 @@ public class Map<KT, VT> : Dictionary<KT, VT>, IMap // IEnumerable<KeyValuePair<
public override string ToString()
{
var rt = "";
foreach (var kv in this)
rt += kv.Key + ": " + kv.Value.ToString() + " \r\n";
return rt.TrimEnd('\r', '\n');
return "{" + string.Join(", ", this.Select(x => $"{x.Key}: {x.Value}")) + "}";
}
//public Map(Map<KT,VT> source)