C# ref is it like a pointer in C/C++ or a reference in C++?

In C#, when you see something referring to a reference type (that is, a type declared with class instead of struct), then you’re essentially always dealing with the object through a pointer. In C++, everything is a value type by default, whereas in C# everything is a reference type by default. When you say “ref” … Read more

Using multiple versions of the same DLL

Let’s assume you have a project structure as follows: …where A and B are class libraries, and C is an executable-type project (such as a unit test or console project). Let’s assume the folder structure is like this: ABC.sln A/A.csproj A/… B/B.csproj B/… C/C.csproj C/… lib/thirdparty4/thirdparty.dll lib/thirdparty5/thirdparty.dll If we attempted to naively reference our projects … Read more