Skip to content

Instantly share code, notes, and snippets.

@lgolubyev
Created May 23, 2022 12:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lgolubyev/efe04ea9908bd60f93aa7ee7e8282c91 to your computer and use it in GitHub Desktop.
Save lgolubyev/efe04ea9908bd60f93aa7ee7e8282c91 to your computer and use it in GitHub Desktop.
public Tuple<int, string, string> GetEmployee()
{
int employeeId = 100;
string firstName = "John";
string lastName = "Smith";
//create a tuple and return it
return Tuple.Create(employeeId, firstName, lastName);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment