23 lines
498 B
C#
23 lines
498 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace GeoCoordinatePortable
|
|
{
|
|
public struct GeoCoordinate
|
|
{
|
|
public double Latitude { get; }
|
|
public double Longitude { get; }
|
|
|
|
public GeoCoordinate(double latitude, double longitude)
|
|
{
|
|
Latitude = latitude;
|
|
Longitude = longitude;
|
|
}
|
|
|
|
public bool IsNull => Latitude == 0 && Longitude == 0;
|
|
}
|
|
}
|