クラス TPerson があります。FSecondName は各オブジェクトに固有であることが知られています。
type
TPerson = class(TObject)
private
FAge: Integer;
FFirstName: String;
FSecondName: String;
public
property Age: Integer read FAge;
property FirstName: String read FFirstName;
property SecondName: String read FSecondName;
constructor Create;
end;
クラス フィールド (C# の静的フィールドなど) を追加するにはどうすればよいですか。
ありがとう!