New to c# and trying to follow a specific code structure in building a weather API
  public class weatherData
   {
    public class coordinates
    {
        protected string longitude;   //coord.lon for opw
        protected string latitude;    //coord.lat for opw
    }
    public class weather
    {
        protected string summary;     //weather.main for opw
        protected string description;
        protected double visibility;  // only for  DS
    } }
    public class weatherAPI : weatherData
{
}
I'm trying to write a return function for coordinates(returns both latitude and longitude), weather(returns summary, description, visibility) in weatherAPI.
Please help. Thanks !
 
    