Can the VB.NET.dll assembly affect C #

I assume that the CLR is not a problem?

+4
source share
3 answers

Yes. Reflection is a CLR technology and works on any CLS-compatible, and sometimes non-conforming assembly, regardless of the language that created it.

+7
source

.NET does not care what language the assembly was written in, so your C # application will not have problems using reflection using the VB.NET assembly.

+4
source

Any .NET language turns into IL bytecode when it is run through the compiler. Reflectors and similar tools work by reverse engineering ILs back to higher level syntax, but they do not necessarily produce the exact code that was originally compiled. They simply provide you with a higher-level “approximation” that will compile into the same bytecode.

It’s best to think about these tools when answering the question: “What could I write to create this result?” not "what did the author write to create this result?"

+3
source

Source: https://habr.com/ru/post/1305611/


All Articles