Feb 26, 2020 09:36 AM|PatriceSc|LINK
The purpose of the constructor is to "new" the object and you usually avoid doing complex things from a constructor.
Alternate options are :
- to use a static method such as Bitmap.FromImage which creates a bitmap and then load the image to finally return the newly initialized object
- or you could differ this actual step until really needed (calling an internal "EnsureInitiliazed" object as needed)