I have a donet 3.5 dll which I want to use in my old C#2 project, currently I don't want to upgrade the C#2 project.
I added the dll as a reference in the c#2 project and everything was wokring fine.
The problem appeared when I want to use method takes System.Func<int,int,IEnumerator<string>>
as argument
so the compiler does not know anything about it as it requires System.Core
assembly, so adding System.Core
assembly will solve the problem ? is there better solution?