Last active
August 30, 2016 14:00
-
-
Save shahriarhossain/bda9cef2c159ff24a0162963b6816911 to your computer and use it in GitHub Desktop.
Tuple gets simplier with the release of C# 7.0
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
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