1
0

improvement

This commit is contained in:
2019-05-21 14:49:12 +02:00
parent c022a2915b
commit a7b988a977
4 changed files with 149 additions and 43 deletions

View File

@@ -18,7 +18,7 @@ namespace TMI_practicum
public override bool Equals(object obj)
{
return obj is Intersection && this == (Intersection) obj;
return obj is Intersection intersection && this == intersection;
}
public static bool operator ==(Intersection x, Intersection y)
{