Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created February 1, 2021 03:03
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 parzibyte/809a3099ca6a46d037c8b1085241c4e8 to your computer and use it in GitHub Desktop.
Save parzibyte/809a3099ca6a46d037c8b1085241c4e8 to your computer and use it in GitHub Desktop.
/*
https://parzibyte.me/blog
*/
using System;
class MainClass {
public static void Main (string[] args) {
var (nombre, edad) = regresarDosValores();
Console.WriteLine("El nombre es: ");
Console.WriteLine(nombre);
Console.WriteLine("La edad es:");
Console.WriteLine(edad);
}
public static (string, int) regresarDosValores(){
string nombre = "Luis";
int edad = 23;
return (nombre, edad);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment