Basic Dot Net Question:

Download Job Interview Questions and Answers PDF

What class does Icon derive from? Isn’t it just a Bitmap with a wrapper name around it?

Dot Net Interview Question
Dot Net Interview Question

Answer:

No, Icon lives in System.Drawing namespace. It’s not a Bitmap by default, and is treated separately by .NET. However, you can use ToBitmap method to get a valid Bitmap object from a valid Icon object.

Download Dot Net Interview Questions And Answers PDF

Previous QuestionNext Question
How can you assign an RGB color to a System.Drawing.Color object?Before in my VB app I would just load the icons from DLL. How can I load the icons provided by .NET dynamically?