Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created Feb 1, 2021
Embed
What would you like to do?
/*
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