Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Tuple gets simplier with the release of C# 7.0
public (string, string, int) CoolWay_UserInfo()
{
string firstName = "Shahriar";
string lastName = "Hossain";
int yearsOfExpertise = 4;
return (firstName, lastName, 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.