Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Specifying element names directly in tuple literals
public (string, string, int) CoolWay_UserInfo(param1, param2, param3.....)
string firstName = "Shahriar";
string lastName = "Hossain";
int yearsOfExpertise = 4;
return (fName: firstName, lName: lastName, experience: yearsOfExpertise);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.