visual_studio_keyboard_shortcuts
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| visual_studio_keyboard_shortcuts [2012/11/19 22:09] – [Warm Up Exercises] Previous edit was the file *afterwards* not before stephen | visual_studio_keyboard_shortcuts [2017/01/01 20:05] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 61: | Line 61: | ||
| <code c#> | <code c#> | ||
| using System; | using System; | ||
| - | + | ||
| namespace VisualStudioWarmUpExercises | namespace VisualStudioWarmUpExercises | ||
| { | { | ||
| Line 68: | Line 68: | ||
| // 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) | public void Bar(string text) | ||
| Line 78: | Line 78: | ||
| Console.WriteLine(" | Console.WriteLine(" | ||
| } | } | ||
| - | + | ||
| // Uncomment these lines. | // Uncomment these lines. | ||
| //public void Bar(string text) | //public void Bar(string text) | ||
| Line 85: | Line 85: | ||
| // Console.WriteLine(" | // Console.WriteLine(" | ||
| //} | //} | ||
| - | + | ||
| - | // Fix this. | + | |
| - | stirng comment; | + | |
| - | + | ||
| - | // Fix this. | + | |
| - | private static readonly start DateTime = DateTime.Now; | + | |
| - | + | ||
| - | // Fix this. | + | |
| - | int Second = 2; | + | |
| - | int First = 1; | + | |
| - | + | ||
| - | // Fix this. | + | |
| - | private static readonly DateTime start; = DateTime.Now | + | |
| - | + | ||
| - | // Fix this. | + | |
| - | start private static readonly DateTime = DateTime.Now; | + | |
| - | + | ||
| - | // Fix this. | + | |
| - | int Fifth = 5; | + | |
| - | int First = 1; | + | |
| - | int Second = 2; | + | |
| - | int Third = 3; | + | |
| - | int Forth = 4; | + | |
| - | + | ||
| - | // Fix this (from the start of the line). | + | |
| - | private static readonly opps DateTime start = DateTime.Now; | + | |
| - | + | ||
| - | // Fix this (from the end of the line). | + | |
| - | private static readonly opps DateTime start = DateTime.Now; | + | |
| - | + | ||
| - | // Fix this (from the start of the line). | + | |
| - | private static readonly opps this bit should not be here DateTime start = DateTime.Now; | + | |
| - | + | ||
| - | // Fix this (from the end of the line). | + | |
| - | private static readonly opps this bit should not be here DateTime start = DateTime.Now; | + | |
| - | + | ||
| // This comment is short. | // This comment is short. | ||
| // This should be a one line comment. | // This should be a one line comment. | ||
| - | |||
| - | // Delete this line. | ||
| - | int mistake = -1; | ||
| - | // Cut this line to the clipboard. | ||
| - | int cutting = 100; | ||
| - | |||
| - | // Delete these lines. | ||
| - | int mistake1 = -1; | ||
| - | int mistake2 = -1; | ||
| - | int mistake3 = -1; | ||
| - | int mistake4 = -1; | ||
| - | |||
| // Switch to Solution Explorer, Toolbox. | // Switch to Solution Explorer, Toolbox. | ||
| - | + | ||
| // Move right through tab groups and then left. | // Move right through tab groups and then left. | ||
| - | + | ||
| // 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. | ||
| - | + | ||
| // Go to the bottom of the page without scrolling. | // Go to the bottom of the page without scrolling. | ||
| - | + | ||
| // Turn View White Space on then off. | // Turn View White Space on then off. | ||
| - | + | ||
| // Perform an incremental search for ' | // Perform an incremental search for ' | ||
| - | + | ||
| // Select the word ' | // Select the word ' | ||
| - | + | ||
| // With the cursor on this line, insert a line above. | // With the cursor on this line, insert a line above. | ||
| - | + | ||
| // 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.ToText(); | String s = 67.ToText(); | ||
| - | + | ||
| // Bookmark these lines. | // Bookmark these lines. | ||
| int bookmark1 = -1; | int bookmark1 = -1; | ||
| - | + | ||
| int bookmark2 = -1; | int bookmark2 = -1; | ||
| - | + | ||
| int bookmark3 = -1; | int bookmark3 = -1; | ||
| - | + | ||
| // Unbookmark bookmark1 and then bookmark3. | // Unbookmark bookmark1 and then bookmark3. | ||
| - | + | ||
| // Clear all bookmarks. | // Clear all bookmarks. | ||
| - | + | ||
| - | // Collapse and expand this region. | + | // Collapse and expand this particular |
| + | // And then collapse and expand all regions. | ||
| #region Region Test | #region Region Test | ||
| // 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) | //public void Bar(string text) | ||
| Line 189: | Line 141: | ||
| // Console.WriteLine(" | // Console.WriteLine(" | ||
| //} | //} | ||
| - | + | ||
| # | # | ||
| - | + | ||
| + | // Go to the brace that matches the one below. | ||
| } | } | ||
| } | } | ||
visual_studio_keyboard_shortcuts.1353362960.txt.gz · Last modified: 2017/01/01 19:55 (external edit)
