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

The latitude in decimal degrees.

longitude double

The longitude in decimal degrees.

Properties

Latitude

Gets the latitude component in decimal degrees.

public double Latitude { get; init; }

Property Value

double

The latitude component in decimal degrees.

Longitude

Gets the longitude component in decimal degrees.

public double Longitude { get; init; }

Property Value

double

The longitude component in decimal degrees.

Methods

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.