public WithBirthday ( DateTime, date ) : InnerObject, | ||
date | DateTime, | |
return | InnerObject, |
public InnerObject WithBirthday(DateTime date)
{ return new InnerObject
{
Name = this.Name,
// add other properties here
Birthday = date
};
}