หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
This refactoring applies to:
C#
Visual Basic
What: Lets you simplify a string interpolation.
When: You have a string interpolation that can be simplified.
Why: Simplifying a string interpolation can provide more clarity and concise syntax. This refactoring tool will perform the task automatically instead of having to do it manually.
How-to
Place your caret on the string interpolation:
Press Ctrl+. to trigger the Quick Actions and Refactorings menu.
Select Simplify interpolation