Multiple choice

Which of the following statement is used in C# to specify a block of code that can be expanded or collapse when using outlining feature of the Visual Studio Code Editor?

  1. #endregion

  2. #region

  3. #line

  4. #undef

  5. #define

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This statement is used in C# to specify a block of code that can be expanded or collapse when using outlining feature of the Visual Studio Code Editor.