Check out example codes for "lat long data type c#". It will help you in understanding the concepts better.

Code Example 1

public decimal Latitude { get; set; }
 public decimal Longitude { get; set; }

Learn ReactJs, React Native from akashmittal.com