Question: 1. In Playland example project, there is: myImage.Source = myBitmapImage; myImage.Source property is System.Windows.Media.ImageSource type. ImageSource class is an abstract class, and abstract class cannot
1. In Playland example project, there is:
myImage.Source = myBitmapImage;
myImage.Source property is System.Windows.Media.ImageSource type. ImageSource class is an abstract class, and abstract class cannot be instantiated. So this line of code is incorrect.
2. mutex cannot be released once it's acquired by one thread.
3. To initialize a BitmapImage created using constructor public BitmapImage (), you must perform property initialization between BeginInit and EndInit calls.
4. In public Thread(ThreadStart start), ThreadStart is:
5. Once a thread is aborted, it cannot be restarted.
6. Child elements of a Canvas are positioned at their designated coordinates, are not resizable.
7. Which Canvas property is used to get the rendered width of the Canvas?
8. Using multiple threads can
| | improve UI responsiveness |
| | make use of multiple processors |