Skip to content
| Marketplace
Sign in
Visual Studio>Tools>More Method Snippets for C#
More Method Snippets for C#

More Method Snippets for C#

James Pfluger

|
2,572 installs
| (0) | Free
A simple collection of more C# snippets for instance, async, static, and extension methods that do not contain arguments.
Download

MoreMethodSnippets

A simple Visual Studio extension that adds more C# snippets for methods

  • MoreMethodSnippets
  • Why is this?
  • Available snippets
  • Contributing

Why is this?

I found myself constantly frustrated by the lack of method snippets within Visual Studio, so I dug deeper into how the ctor and prop snippets work. I realized I could easily create the snippets I was looking for.

So I did. Please enjoy.

Method-v5.gif

Available snippets

Currenlty, there are only snippets for regular methods, static methods, async methods, and extension methods.

Regular methods

Shortcut Description
method Code snippet for a method
smethod Code snippet for a static method
amethod Code snippet for an async method
xmethod Code snippet for an extension method

Contributing

Additional contributions are welcome. However, I don't want to bloat this extension with infrequently used snippets. They should be simple and used frequently enough.

Could you see Microsoft implementing this snippet? If so, create an issue to propose it!
If not, is it an extension of a commonly used snippet, or do you think Microsoft could implement it? If so, create an issue to propose it!
If not, the snippet probably doesn't belong in this repository. I'm always open for discussion.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft