Version

CountryDataModel

In Visual Basic:

Public Class CountryDataModel
    Private _CountryCode As String
    Public Property CountryCode() As String
        Get
            Return _CountryCode
        End Get
        Set(ByVal value As String)
            _CountryCode = value
        End Set
    End Property
    Private _CountryName As String
    Public Property CountryName() As String
        Get
            Return _CountryName
        End Get
        Set(ByVal value As String)
            _CountryName = value
        End Set
    End Property
    Private _BirthRate As Double
    Public Property BirthRate() As Double
        Get
            Return _BirthRate
        End Get
        Set(ByVal value As Double)
            _BirthRate = value
        End Set
    End Property
    Private _ElectricityProduction As Double
    Public Property ElectricityProduction() As Double
        Get
            Return _ElectricityProduction
        End Get
        Set(ByVal value As Double)
            _ElectricityProduction = value
        End Set
    End Property
    Private _InternetUsers As Double
    Public Property InternetUsers() As Double
        Get
            Return _InternetUsers
        End Get
        Set(ByVal value As Double)
            _InternetUsers = value
        End Set
    End Property
    Private _MedianAge As Double
    Public Property MedianAge() As Double
        Get
            Return _MedianAge
        End Get
        Set(ByVal value As Double)
            _MedianAge = value
        End Set
    End Property
    Private _OilProduction As Double
    Public Property OilProduction() As Double
        Get
            Return _OilProduction
        End Get
        Set(ByVal value As Double)
            _OilProduction = value
        End Set
    End Property
    Private _Population As Double
    Public Property Population() As Double
        Get
            Return _Population
        End Get
        Set(ByVal value As Double)
            _Population = value
        End Set
    End Property
    Private _PublicDebt As Double
    Public Property PublicDebt() As Double
        Get
            Return _PublicDebt
        End Get
        Set(ByVal value As Double)
            _PublicDebt = value
        End Set
    End Property
    Private _Televisions As Double
    Public Property Televisions() As Double
        Get
            Return _Televisions
        End Get
        Set(ByVal value As Double)
            _Televisions = value
        End Set
    End Property
    Private _UnemploymentRate As Double
    Public Property UnemploymentRate() As Double
        Get
            Return _UnemploymentRate
        End Get
        Set(ByVal value As Double)
            _UnemploymentRate = value
        End Set
    End Property
End Class

In C#:

public class CountryRecordItem
{
    public string CountryCode { get; set; }
    public string CountryName { get; set; }
    public double? BirthRate { get; set; }
    public double? ElectricityProduction { get; set; }
    public double? InternetUsers { get; set; }
    public double? MedianAge { get; set; }
    public double? OilProduction { get; set; }
    public double? Population { get; set; }
    public double? PublicDebt { get; set; }
    public double? Televisions { get; set; }
    public double? UnemploymentRate { get; set; }
}