Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
value tuple
//Rextester.Program.Main is the entry point for your code. Don't change it. //Microsoft (R) Visual C# Compiler version 2.9.0.63208 (958f2354) using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { var customerDetails1 = GetCustomerDetails1(); Console.WriteLine(customerDetails1.customerName); Console.WriteLine(customerDetails1.address); Console.WriteLine(customerDetails1.email); var customerDetails2 = GetCustomerDetails2(); Console.WriteLine(customerDetails2.customerName); Console.WriteLine(customerDetails2.address); Console.WriteLine(customerDetails2.email); } public static (string customerName, string address, string email) GetCustomerDetails1() { return (customerName:"test", address:"test city", email:"a@b.com"); } public static (string customerName, string address, string email) GetCustomerDetails2() { return ("test", "test city", "a@b.com"); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
PassByValue vs PassByRerefence
asxsd dxsd
масиви форіч
deletevowels
a.k.java
Server last restarted
Some C# advanced stuff
Tarkov Time
Using Events/Delegates to Subscribe To A Service - Emails
multi variable random number generator
Please log in to post a comment.