allow extension snippets
I would like to be able to also use LinqPad to just drop in an extension method for testing. I don't want to have to write windows class library project to test a simple extension idea.

This is now available in v2.
To define an extension method, set the language to C# Program, and write a static class:
void Main()
{
…
}
static class Extensions
{
public static void Foo (this ……) {}
}
-
Pete Wilson commented
Any hope for supporting VB extension methods?
-
Jay Michael Asbury commented
Implement for VB Program too
Module Extensions
<extension()> _
function Blaaa(of T)(Items as Ienumerable(of T)) as Ienumerable(of T)
return ...
end function
end module