Instantiating an object without using its constructor in C#

added by DotNetKicks
11/14/2019 6:11:10 PM

365 Views

In this blog post we will look at how you could create an instance of an object in C# without calling its constructor - which sounds a bit crazy, but is actually something that has been supported by both CLR and Core CLR for a long time now. More after the jump.


0 comments