Is there a web service where you can store and look for pieces of code?

Quite often there is a need skopipastit a piece of code (obyno function) from one project to another (and even within the same project). And often, to find this piece, you need to spend some time.
Have a question, I there are no such convenient online resource where I could save such pieces of code (probably with tags), and then it is easy to find?
Probably something like codereview.stackexchange.com/but more confined to copy&paste pieces of code.

Thank you
Igor.
October 3rd 19 at 02:25
4 answers
October 3rd 19 at 02:27
thank you: tried.
certainly better than nothing, but not ideal :) - Anthony.Legros commented on October 3rd 19 at 02:30
Then you can still look at the request "snippet service" and "online snippet storage", there are a lot of good. - tiffany.Bailey12 commented on October 3rd 19 at 02:33
Thank you.
Indeed, if properly to look, you can find a lot of things :).
I wonder if any of these many obvious champion? - Anthony.Legros commented on October 3rd 19 at 02:36
October 3rd 19 at 02:29
October 3rd 19 at 02:31
www.gistboxapp.com/
A small addition to gist'have
Use
October 3rd 19 at 02:33
The IDE should support code templates and snippets macros.
I would say, rather, the service must give a plug-in for IDE - Anthony.Legros commented on October 3rd 19 at 02:36
I think it's something like habrahabr.ru/post/25093/#comment_6365238 - tiffany.Bailey12 commented on October 3rd 19 at 02:39
Almost all IDE have plugins to work with gist from github. - Anthony.Legros commented on October 3rd 19 at 02:42

Find more questions by tags ProgrammingC#