how can i copy one attribute from one class to another?
<pre><code>class person
{
[Required(ErrorMessage = "Please enter the FirstName of person")]
string FirstName{get; set ;}

[Required(ErrorMessage = "Please enter the LastName of person")]
string LastName{get; set ;}
}

class Student
{
string FirstName{get; set ;}
string LastName{get; set ;}
}

Person p = new Person();
Student s = new Student();
</code></pre>

<p>i want to copy the attributes from P to S;
how can it?</p>
