Created
September 15, 2020 17:45
-
-
Save ssukhpinder/c6fc41f83d3bd44e03e5e01588adf5cb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string fname = "sukhpinder"; | |
string lname = "singh"; | |
string email = "sukhpinder.s.dhanjal@gmail.com"; | |
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