In C# 7.0 (Visual Studio 2017) there is a new option to do that:
(string first, string middle, string last) LookupName(long id)
Related Contents:
- How to easily initialize a list of Tuples?
- Better naming in Tuple classes than “Item1”, “Item2”
- What’s the difference between System.ValueTuple and System.Tuple?
- Is Using .NET 4.0 Tuples in my C# Code a Poor Design Decision?
- What and When to use Tuple? [duplicate]
- Tuples( or arrays ) as Dictionary keys in C#
- Create a Tuple in a Linq Select
- Returning two values, Tuple vs ‘out’ vs ‘struct’
- When to use: Tuple vs Class in C# 7.0
- What requirement was the tuple designed to solve?
- C# 7 tuples and lambdas
- Will a future version of .NET support tuples in C#?
- Equivalent of Tuple (.NET 4) for .NET Framework 3.5
- Tuple.Create() vs new Tuple
- C#7 tuple & async
- How to return named tuples in C#?
- Anonymous type and tuple
- Generating Random Passwords
- Choosing the default value of an Enum type without having to change values
- Linq-to-Entities Join vs GroupJoin
- generating GUID without hyphen
- Easier way to populate a list with integers in .NET [duplicate]
- .NET Process.Start default directory?
- How to set a binding in Code?
- Best Way to read rss feed in .net Using C# [closed]
- C# – Simplest way to remove first occurrence of a substring from another string
- Received an invalid column length from the bcp client for colid 6
- WCF Error – Could not find default endpoint element that references contract ‘UserService.UserService’
- Difference between the System.Array.CopyTo() and System.Array.Clone()
- Filtering out values from a C# Generic Dictionary
- ‘is’ versus try cast with null check
- Can I get more than 1000 records from a DirectorySearcher?
- Print Version Number in ASP.NET MVC 4 app
- Why is “string” considered a simplified version of “String”?
- How to turn off or handle camelCasing in JSON response ASP.NET Core?
- Is Task.Run considered bad practice in an ASP .NET MVC Web Application?
- How to copy a file to another path?
- How to sort a dictionary by key
- How do I convert an Int to a String in C# without using ToString()?
- Why use the global keyword in C#?
- How to Remove ‘\0’ from a string in C#?
- Send HTML email via C# with SmtpClient
- Regex: C# extract text within double quotes
- Error: No Entity Framework provider found for the ADO.NET provider with invariant name ‘System.Data.SqlClient’
- XmlSerializer won’t serialize IEnumerable
- Why does .NET 4.0 sort this array differently than .NET 3.5?
- How can I do multiple operations inside a C# LINQ ForEach loop
- C# Sort list while also returning the original index positions?
- How to get a property value using reflection
- Grab all text from html with Html Agility Pack