c# - Create object of abstract class. How possible -


Why is this possible? :

  Bitmapsource I = Imaging KrebetMapsSourceFrom HBTemap (...);   

I am writing some APIs to search for this line and IM coneface, because MSDN says that bitmapsource is an abstract class.

Bitmapsource is an abstract class and thus directly can not be created, but imaging The CrabetMatMopSourceFrom HBTemap returns some solid squares that inherits to bitmapsource and thus "code" can be "cast" in bitmapsource .

It is incompatible to be an intangible class but is going to be a solid giraf class which gets it from:

  Animals a = new animal (); // Invalid animal A = zoo Composition endless name ("giraffe"); // valid - gives a giraffe example    

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -