Code Snippet shortcut list for Visual Studio .NET
Code snippet in .net 2005 reduces a lot of coding time and also it makes coding very easy to the programmers. You should try to use code snippet during coding.
**Hint: Type the code snippet shortcut in the IDE and press the tab button in the keyboard. It will automatically generate code for you.
Example: type 'for' in your IDE and then press the Tab key. The code snippet for 'for' loop will be generated.
for (int i = 0; i <>
{
}
Code Snippet Shortcut List:
**Hint: Type the code snippet shortcut in the IDE and press the tab button in the keyboard. It will automatically generate code for you.
Example: type 'for' in your IDE and then press the Tab key. The code snippet for 'for' loop will be generated.
for (int i = 0; i <>
{
}
Code Snippet Shortcut List:
| No. | Code Snippet ShortCut | Explanation |
| 1 | #if | Code snippet for #if |
| 2 | #region | Code snippet for region |
| 3 | ~ | Code snippet for destructor. |
| 4 | cw | Code snippet for console.writeline() function |
| 5 | ctor | Code snippet for constructor |
| 6 | checked | Code snippet for Cheked block |
| 7 | class | Code snippet for class |
| 8 | do | Code snippet for do…while block |
| 9 | else | Code snippet for else block |
| 10 | enum | Code snippet for enumerator |
| 11 | equals | Code snippet for implementing Equals() according to guidelines. |
| 12 | exception | Code snippet for Exception block |
| 13 | for | Code snippet for 'for' block |
| 14 | foreach | Code snippet for 'for each' block |
| 15 | forr | Code snippet for reverse for loop |
| 16 | if | Code snippet for 'if' block |
| 17 | indexer | Code snippet for indexer block |
| 18 | interface | Code snippet for 'interface' block |
| 19 | iterator | Code snippet for iterator. |
| 20 | iterindex | Code snippet for "named" iterator/index pair using nested class |
| 21 | lock | Code snippet for lock statement |
| 22 | mbox | Code snippet for MessageBox |
| 23 | namespace | Code snippet for namespace |
| 24 | prop | Code snippet for a property |
| 25 | propa | Code snippet for an attached property using dependancyproperty as the backing store |
| 26 | propdp | Code snippet for dependancyproperty as the backing store |
| 27 | propg | Code snippet for automatically implemented property with a 'get' accessor and private 'set' accessor |
| 28 | sim | Code snippet for int main |
| 29 | struct | Code snippet for structure block |
| 30 | svm | Code snippet for void main |
| 31 | switch | Code snippet for switch block |
| 32 | try | Code snippet for try block |
| 33 | tryf | Code snippet for with finally |
| 34 | unchecked | Code snippet for uncheck block |
| 35 | unsafe | Code snippet for unsafe block |
| 36 | using | Code snippet for using statement |
| 37 | wde | Code snippet for a dependancy property (Eventhandler) in a windows workflow activity |
| 38 | wdp | Code snippet for a dependancy property (Eventhandler) in a windows workflow activity |
| 39 | while | Code snippet for while block |
Comments
Post a Comment