c# - What do the highlighted keywords in Visual Studio mean? -
when type if
, visual studio shows context menu:
then when hit tab, tab, expanded:
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
Post a Comment