Is there a way to update DLL while application is running in C#? For example, if there is DLL with a function that looks like this:
void write()
{
Console.WriteLine("LALALA");
}
And it is called in a thread with 1 second sleep between calls.
Now, I wrote the new version:
void write()
{
Console.WriteLine("LA LA LA\n");
}
Can I update old DLL with this new one during runtime? It is important that my APP is up and running all the time, no meter what... but I guess that updating libraries is an exception. Am I wrong?