You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Creates a new <see cref="Coordinate"/> structure that contains <see cref="Latitude" /> and <see cref="Longitude" /> set to 0.
22
+
/// Creates a new <see cref="Coordinate"/> structure that contains <see cref="Latitude" /> and <see cref="Longitude" /> set to <see langword="default"/> value.
23
23
/// </summary>
24
24
publicCoordinate(){
25
-
Latitude=0d;
26
-
Longitude=0d;
25
+
Latitude=default;
26
+
Longitude=default;
27
27
}
28
28
29
29
/// <summary>
@@ -47,7 +47,7 @@ public Coordinate(double latitude, double longitude) {
47
47
publicreadonlydoubleLongitude{get;}
48
48
49
49
/// <summary>
50
-
/// Gets a value that indicates whether both, the <see cref="Latitude" /> and <see cref="Longitude"/> values, are equal to 0.
50
+
/// Gets a value that indicates whether both, the <see cref="Latitude" /> and <see cref="Longitude"/> values, are equal to <see langword="default" />.
0 commit comments