Skip to content

AbdelrahmanAhmed81/VS-CSharp-Snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

VS-CSharp-Snippets

C# code snippets for Visual Studio.

Snippets

shortcut description
single apply singleton pattern to a class.
cctor create copy constructor.
func create editable functuion.
afunc create editable async function.
cr snippet for Console.ReadLine().
cs snippet for adding console seperator line.

Setup

  1. save Snippets folder on your machine.
  2. open Visual Studio.
  3. go to Tools > Code Snippets Manager.
  4. on the Code Snippets Manager window make sure to select CSharp from the Language drop down list then click Add.
  5. select the Snippets folder you saved lately then press Ok.
  6. restart Visual Studio.

Releases

No releases published

Packages

No packages published