}
Now my question is , i want to enter Enum values like 1,2...
i tried like,
private void btnSubmit_Click(object sender, RoutedEventArgs e)
{
Person per=new Person();
per.Name = txtFname.Text;
per.Gender = txtGender.Text(Gender);
}
please let me know how to do?