Table of Contents

Struct LatLong

Namespace
SimpleWeather
Assembly
SimpleWeather.dll

Represents a coordinate pair expressed in decimal degrees.

public readonly struct LatLong
Inherited Members

Constructors

LatLong(double, double)

Represents a coordinate pair expressed in decimal degrees.

public LatLong(double latitude, double longitude)

Parameters

latitude double
longitude double

Properties

Latitude

Gets the latitude component in decimal degrees.

public double Latitude { get; init; }

Property Value

double

Longitude

Gets the longitude component in decimal degrees.

public double Longitude { get; init; }

Property Value

double

Methods

ToString()

public override string ToString()

Returns

string