Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
This refactoring applies to:
- C#
What: Lets you simplify a conditional expression.
When: You want to remove unnecessary code to provide more clarity.
Why: Simplifying a conditional expression 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 conditional expression:
Press Ctrl+. to trigger the Quick Actions and Refactorings menu.
Select Simplify conditional expression