a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
42 lines
693 B
C#
42 lines
693 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
|
|
namespace TestCode
|
|
{
|
|
public class Country
|
|
{
|
|
public Country(int id, string name, string capital, double population)
|
|
{
|
|
ID = id;
|
|
Name = name;
|
|
Capital = capital;
|
|
Population = population;
|
|
}
|
|
|
|
public int ID
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public string Name
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public string Capital
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public double Population
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
} |