public string ProfileID { get; set;}
public string UserName {get; set;}
public string FullName { get; set;}
public string Password { get; set;}
public int Role { get; set;}
public bool Active { get; set;}
public bool Archived { get; set;}
public bool Dirty { get; set;}
public Profile(Profile p) : this(p.ProfileID, p.UserName, p.FullName, p.Password, p.Role, p.Active, p.Archived, p.Dirty)
public Profile(string profileID, string userName, string fullName,
string password, int role, bool active, bool archived, bool dirty=false)
public static void Main()
Profile p = new Profile();
p.ProfileID = "ProfileID";
Profile p2 = new Profile(p);
if (p.ProfileID == p2.ProfileID
&& p.UserName == p2.UserName
&& p.FullName == p2.FullName
&& p.Password == p2.Password
&& p.Archived == p2.Archived
Console.WriteLine("Cloned.");