View Single Post
  #4 (permalink)  
Old March 25th, 2014, 01:09 AM
mmorgan30 mmorgan30 is offline
Friend of Wrox
Points: 528, Level: 8
Points: 528, Level: 8 Points: 528, Level: 8 Points: 528, Level: 8
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2014
Posts: 136
Thanks: 1
Thanked 10 Times in 10 Posts
Default

Well Antiaaa, you have 1 of 2 choices to resolve this issue
1) define a class named RegistrationInformation
2) define a struct named RegistrationInformation

you cant have both either in the same namespace or defined with each other.

Code:
public struct RegistrationInformation
{
     public string FirstName { get; set; }
     .
     .
     .
}
or
Code:
public class RegistrationInformation
{
     public string FirstName { get; set; }
     .
     .
     .
}