Help
I seemed to have either entered incorrectly or misinterpreted instructions
public class RegistrationInformation
{
public RegistrationInformation()
{
}
public struct RegistrationInformation
{
public string FirstName { get; set; }
public string LastName { get; set; }
public string Email { get; set; }
public string SelectedEvent { get; set; }
}
}
this yields an error on the struct "member names cannot be the same as their enclosing type."
Help would be appreciated.Thanks.
|