Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can a VB.NET .dll assembly be reflected by C#

Tags:

c#

.net

vb.net

clr

I assume because the CLR this wouldn't be an issue?

like image 398
y2k Avatar asked Dec 10 '22 16:12

y2k


2 Answers

Yes. Reflection is a CLR technology and works on any CLS compliant, and sometimes not so compliant, assembly no matter the language which created it.

like image 139
JaredPar Avatar answered Dec 12 '22 06:12

JaredPar


.NET doesn't care what language the assembly was written in, so your C# application will have no problem using reflection with a VB.NET assembly.

like image 24
Robert S. Avatar answered Dec 12 '22 07:12

Robert S.