novembre 2007 Entries

Code snippet for multiline comments in Visual Studio

Sometime you want to comment multiple line of c# code. Visual studio uses // for each line of code if you use the comment/uncomment button. I wanted to use the multiline comments /* */. With the following snippet you can do this by using "Surround with" <?xml version="1.0" encoding="utf-8" ?> <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> <CodeSnippet Format="1.0.0"> <Header> <Title>Multiline C# comment</Title> <Shortcut>comment</Shortcut> ...

«novembre»
domlunmarmergiovensab
28293031123
45678910
11121314151617
18192021222324
2526272829301
2345678