Paint Shop Pro **Figure 1.8** : _The paint brush. Artwork done with the paint brush in Paint Shop Pro._ — Paint Shop Pro (PSP) is a bit of a hybrid between Photoshop and Illustrator. It is specifically tailored for painting with a fixed set of tools and has a nice library of brushes for creation and editing. It has sophisticated features such as Paint Bucket, Multiple Layers, and Gradients that enable painting effects. It is for the beginner, but it is also for someone with advanced use who is looking for a decent-priced painting program. It is less demanding of your skills than Illustrator and Photoshop. **Figure 1.9** : _The Paint Shop Pro library for brushes.

Q: Sort array in C# I have an array of double and I want to sort the values in ascending order. Here is my code: //PICs array double[] PICs = new double[] {10, 8, 6, 12, 4, 9, 5, 3, 7}; //Sort the array Array.Sort(PICs); I got the following error: Error 1 Cannot implicitly convert type ‘System.Collections.Generic.List’ to ‘System.Collections.Generic.ArrayList’ D:\Projects\C#Projects\ArraySortingC#\array.cs 43 66 ArraySortingC# And I also tried converting it to list first (using Cast) and then using the Sort method. But it gives me a similar error. What should I do to sort my array? A: You are telling the compiler that you have: An array of double and An ArrayList Actually, the compiler deduces that you want to sort an array of doubles. So it has to do some conversions. What you want is: //PICs array double[] PICs = new double[] {10, 8, 6, 12, 4, 9, 5, 3, 7}; //Sort the array Array.Sort(PICs); note that double[] is the same as Array in C#, and Array.Sort works with arrays. To convert a List to an array of double, use: double[] PICs = new double[] { 10, 8, 6, 12, 4, 9, 5, 3, 7}; ArrayList lst = new ArrayList(PICs); Array.Sort(lst);