A project with C# 3.0 can use a dll with the most recent version of C# but similar .NET Framework version ?
A project with .NET Framework 3.5 can use a dll with the most recent version of .NET Framework but similar C# version ?
A project with C# 3.0 and .NET Framework 3.5 can use a dll with the most recent version of C# and .NET Framework ?
Short answer: No. A project targeting .NET Framework version 3.5 can reference an assembly that is compiled against any .NET Framework version up until version 3.5.
A project with C# 3.0 can use a dll with the most recent version of C# but similar .NET Framework version ?
Yes. The version of the programming language is only important at compile time. At runtime, it doesn't matter which version of C# the assmebly was implemented with.
A project with .NET Framework 3.5 can use a dll with the most recent version of .NET Framework but similar C# version ?
No. An assembly built against .NET Framework 3.5 can only reference assemblies built against .NET Framework 3.5 or earlier.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With