Is there an alternative way to create an "uninitialized" object in UWP (NETCore)? I'm trying to port a piece of code that uses
object o = FormatterServices.GetUninitializedObject(type)
And then uses ConstructorInfo.Invoke(o, params) to construct the object at a later time.
Unfortunately, this is not possible in UWP (right now, maybe later, who knows?)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With