A Visual Studio addin: right-click on method, choose "run in LinqPad"
From VS, right-click on selected method, choose "Run in LinqPad". It creates a new query, copies the method from the source, adds using statements from the top of the file, and reference dlls used by the project. Likely would also need a way to reference other code files within the same project and/or reference the current dll
5
votes
![](https://secure.gravatar.com/avatar/c66c111cf5fbe3eb2ff63e11847173e1?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)