static void Main(string[] args) { AA a = new AA(1); BB b = new BB(1, 11); a = new AA(b); }
public BB(BB obj) : base(obj) { _ValVal = obj.ValVal; }