c# - What do the highlighted keywords in Visual Studio mean? -


when type if, visual studio shows context menu:

context menu

then when hit tab, tab, expanded:

highlighting

the keyword “true” highlighted. highlighting mean?

they called code snippets.

the highlight means if continue typing, go highlighted section.

for example, if type "if" tab tab, this:

if (true) {  } 

and true highlighted. if continue typing, true replaced whatever typing such condition x == 2 etc.

they handy if there more parameters, type , press tab , go next highlighted section.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -