Cheatography
https://cheatography.com
A rough guide to the ZenSharp mnemonics plugin for ReSharper (https://github.com/ulex/ZenSharp)
Accessp | public | _ | private | i | internal | P | protected |
Modifiers | sealed | a | abstract | v | virtual | r | readonly | capitalise member type | static |
Member Typep | property | | field | m | method | i | interface | c | class | e | enum |
| | Return type~ | return type initial | | IEnumerable of return type | l | return type initial | | IList | sl | return type initial | | sorted list | di | return type initial return type initial | | dictionary | | return type initial | a | array of return type | | return type initial | ? | nullable return type | | s | | string | | by | | byte | | b | | bool | | dt | | datetime | | d | | double | | i | | int | | ui | | uint | | g | | guid | | dc | | decimal | | t | | custom type |
enumerable modifiers can also be used by themselves (sometimes)
Property Set Access+ | public set | +p | protected set |
only works with properties; default is private set
| | Usageaccess modifier member type return type name property set access |
parts are optional; e.g. return type can be omitted if return type is void
ExamplespPsExampleProperty+ | public static string ExampleProperty { get; set; }
| pmExampleMethod | public void ExampleMethod() { }
|
|
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets