4AspNet IPInfo v1.0

CountryInfo.Capital Property

Returns a capital name for the country.

public string Capital {get;}

Property Value

The capital name (eg. "Washington, DC") or "N/A" if information is absent.

Example

For an example see CountryInfo overview.

See Also

CountryInfo Class | ForAspNet.IPInfo Namespace