예제) 생성자의 상속(1)

 

 

 

 

using System;

class People

{

public string name = "";

public People(){

  this.name = "Y.M.Kang";

}

public People(string str1){

  this.name = str1;

}

}

 

 

 

 

 

+ Recent posts