Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
return multiple value from function
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { int int1 = 15; int int2 = 25; var result = Add_Multiply(int1, int2); Console.WriteLine(result.Key); Console.WriteLine(result.Value); } private static KeyValuePair<int, int> Add_Multiply(int int1, int int2) { var KeyValuePair = new KeyValuePair<int, int>(int1 + int2, int1 * int2); return KeyValuePair; } } }
run
|
edit
|
history
|
help
1
HelloWorld
iui yurty
Non-User input - Random Controlled - Guessing Game
First pr
Time by 15 minutes
EnumToList
2015-2 matrix threads
Gerador de Matriz Data
sortowania przez wstawienie Correct
Override method/function in C#