Linq and its extension methods live in a different assembly than the one i use them from. So yes :) (edit: at least that was a very important reason to lean on the positive. Confirmation was pretty quick )
And confirmed just now between a console application assembly and a class library assembly :)
public IEnumerable<string> test()
{
yield return "1";
yield return "2";
yield return "3";
yield return "4";
}
in the class library is completely callable in the console application:
var t =new ClassLibrary1.Class1();
foreach (var test in t.test())
{
Console.WriteLine(test);
}