Load DLL at runtime in C# and invoke a method

preview_player
Показать описание
This video shows how we can write a simple code to load an assembly file (DLL) and create an object to invoke a method.
Credit:
Music: YouTube Audio Library
Рекомендации по теме
Комментарии
Автор

It took me way too long to find this video. Thank you very much.

charliegallie
Автор

Thank you, ur video didn't really solve my problem, but I found a solution while watching it ^) Maybe it is because of this relaxing music as I was about to smash my notebook, and this is the calm I needed

rool
Автор

Hi, may i ask why u use CreateInstance? Is it for to instantiate the dll class? If yes, what if i use static class in my dll so tht my user can use it without any instantiate it first, do i still have to instantiate the dll class everytime i want to use its members?

illumi
Автор

Thank you very much! Does this support concurrency, that is, on a website where I search for products?

catalinafernandez
Автор

hiii!! do you know how in C#, load a Third part DLL, I´ve just only has documentation of the Methods of the DLL, but I do not Know what is inside. COuld you guide me? please

enrique
Автор

Im using vstudio 2022, and the "type" returned null

illumi
Автор

Hello! How to do the same method if i want to import multiple dlls(i wouldnt know which method i am using)? Thankyou!

abodeofsrisritharini
Автор

CS0009 datagrid columns. dll could not be opened invalid culture name in C#

عبدالعزيزمحمد-تصف
Автор

hi there, any other way also to use reflections in c#?

electricalinfo
Автор

How to generate traces at runtime like instrumentation without changing the application code using c#

pavannaidu
Автор

Thanks for the video. Succed to to it in VS but not in Unity. Don't know why.

EloiTeaching