User Tools

Site Tools


visual_studio_keyboard_shortcuts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
visual_studio_keyboard_shortcuts [2011/07/17 21:01] – [Warm Up Exercises] stephenvisual_studio_keyboard_shortcuts [2017/01/01 20:05] (current) – external edit 127.0.0.1
Line 67: Line 67:
  {  {
  // Comment this line.  // Comment this line.
- //int i = 42;+ int i = 42;
  
  // Uncomment this line.  // Uncomment this line.
- int i = 42;+ //int i = 42;
  
  // Comment these lines.  // Comment these lines.
 + public void Bar(string text)
 + {
 + for (int i = 0; i < 10; i++)
 + Console.WriteLine("Hello {0}", i);
 + }
 +
 + // Uncomment these lines.
  //public void Bar(string text)  //public void Bar(string text)
  //{  //{
Line 79: Line 86:
  //}  //}
  
- // Uncomment these lines. 
- public void Bar(string text) 
- { 
-     for (int i = 0; i < 10; i++) 
-         Console.WriteLine("Hello {0}", i); 
- } 
- 
- // Fix this. 
- string comment; 
- 
- // Fix this. 
- private static readonly DateTime start = DateTime.Now; 
- 
- // Fix this. 
- int First = 1; 
- int Second = 2; 
- 
- // Fix this. 
- private static readonly DateTime start = DateTime.Now; 
- 
- // Fix this. 
- private static readonly DateTime start = DateTime.Now; 
- 
- // Fix this. 
- int First = 1; 
- int Second = 2; 
- int Third = 3; 
- int Forth = 4; 
- int Fifth = 5; 
- 
- // Fix this (from the start of the line). 
- private static readonly DateTime start = DateTime.Now; 
- 
- // Fix this (from the end of the line). 
- private static readonly DateTime start = DateTime.Now; 
- 
- // Fix this (from the start of the line). 
- private static readonly DateTime start = DateTime.Now; 
- 
- // Fix this (from the end of the line). 
- private static readonly DateTime start = DateTime.Now; 
- 
- // This comment is short. This should be a one line comment. 
- 
- // Delete this line. 
- 
- // Cut this line to the clipboard. 
  
- // Delete these lines.+ // This comment is short. 
 + // This should be a one line comment.
  
  // Switch to Solution Explorer, Toolbox.  // Switch to Solution Explorer, Toolbox.
Line 135: Line 96:
  // Switch back to the code editor.  // Switch back to the code editor.
  
- // Go directly to line 58 and then to 85.+ // Go directly to line 29 and then to 49.
  
  // Go to the top of the page without scrolling.  // Go to the top of the page without scrolling.
Line 144: Line 105:
  
  // Perform an incremental search for 'uncomment'.  // Perform an incremental search for 'uncomment'.
- +
  // Select the word 'cursor' and perform an auto search forward and back.  // Select the word 'cursor' and perform an auto search forward and back.
  
Line 151: Line 112:
  // With the cursor on this line, insert a line below.  // With the cursor on this line, insert a line below.
  
- // Select the text below in the order indicated. 
- // 444222111333555 
-  
  // Correct this to ToString().  // Correct this to ToString().
- String s = 67.ToString(); + String s = 67.ToText(); 
- +
  // Bookmark these lines.  // Bookmark these lines.
  int bookmark1 = -1;  int bookmark1 = -1;
Line 168: Line 126:
  // Clear all bookmarks.  // Clear all bookmarks.
  
- // Collapse and expand this region.+ // Collapse and expand this particular region
 + // And then collapse and expand all regions.
  #region Region Test  #region Region Test
  // Comment this line.  // Comment this line.
Line 185: Line 144:
  #endregion Region Test  #endregion Region Test
  
 + // Go to the brace that matches the one below.
  }  }
 } }
visual_studio_keyboard_shortcuts.1310936484.txt.gz · Last modified: 2017/01/01 19:55 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki