Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
string fname = "sukhpinder";
string lname = "singh";
string email = "";
SignUpRecord signUpRecord1= new (fname, lname, email);
SignUpRecord signUpRecord2= new (fname, lname, email);
System.Console.WriteLine("Records equality: {0}",(signUpRecord1==signUpRecord2));
SingupClass singupClass1=new SingupClass(fname, lname, email);
SingupClass singupClass2=new SingupClass(fname, lname, email);
System.Console.WriteLine("Class equality: {0}",(singupClass1==singupClass2));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment