classHero{
publicstring Name {
get;set;}publicfloat Health {
get;set;}=100;publicfloat Damage {
get;set;}=5;publicint Experience {
get;set;}=0;publicstring Position {
get;set;}="00";publicHero(string name ="Hero"){
this.Name = name;}}
答案2:
publicclassHero{
publicstring Name {
get;}publicstring Position {
get;}="00";publicfloat Health {
get;}=100;publicfloat Damage {
get;}=5;publicint Experience {
get;}=0;publicHero(string name ="Hero"
草蜢 - 终端游戏#1【难度:0级】:答案1:class Hero { public string Name {get; set;} public float Health {get; set;} = 100; public float Damage {get; set;} = 5; public int Experience {get; set;} = 0; public...