using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _02C基础加强
{
class Program
{
static void Main(string[] args)
{
//作业:定义父亲类Father(姓lastName,财产property,血型bloodType),儿子Son类(玩游戏PlayGame
// 方法),女儿Daughter类(跳舞Dance发法),调用父类构造函数(:base())给子类字段赋值
}
}
class Father
{
public string LastName { get; set; }
public double Property { get; set; }
public string bloodType { get; set;}
public Father(string lastName, double property, string bloodType)
{
this.LastName = lastName;
this.Property = property;
this.bloodT
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _02C基础加强
{
class Program
{
static void Main(string[] args)
{
//作业:定义父亲类Father(姓lastName,财产property,血型bloodType),儿子Son类(玩游戏PlayGame
// 方法),女儿Daughter类(跳舞Dance发法),调用父类构造函数(:base())给子类字段赋值
}
}
class Father
{
public string LastName { get; set; }
public double Property { get; set; }
public string bloodType { get; set;}
public Father(string lastName, double property, string bloodType)
{
this.LastName = lastName;
this.Property = property;
this.bloodT