#region, #endregion - are design elements of the code decoration. #region lets you specify a block of code that you can expand or collapse when using the outlining feature of the Visual Studio Code Editor. In longer code files, it is convenient to be able to collapse or hide one or more regions so that you can focus on the part of the file that you are currently working on.
In this case the # must be the very first (non whitespace) character on the line.
/**/ - is a correct comment
" Helo Wrold" is a string. Its syntax is not checked by compiler =)
Войдите чтобы поставить Нравится
Войдите чтобы прокомментировать