Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
This refactoring applies to:
C#
Visual Basic
What: Convert an anonymous type to tuple.
When: You have an anonymous type that qualifies as a tuple.
Why: Tuples are helpful in keeping your syntax lightweight. This quick action makes it easier to take advantage of this C# feature.
How-to
Place your cursor in an anonymous type.
Press Ctrl+. to trigger the Quick Actions and Refactorings menu.

Press Enter to accept the refactoring.
