DQ 1: Write a 200- to 300-word short-answer response to the following:
(a) Explain generics in C#. What are reasons for using generics? How do generics apply to collections? Write the code for a small example using C# code.
(b) Write a 200- to 300-word short-answer response to the following:
Provide an example in which polymorphism would be useful. Write the code for the example. Explain its use of polymorphism using C# code.
DQ 2: Write a 200- to 300-word short-answer response to the following:
(a) What Event is raised when the class implements the INotifyPropertyChanged interface?
(b) How does the IDataErrorInfo interface triggers the display of the error message from a bound textbox ?
Provide the XAML code needed for a textbox bound to the Classification property of the Fireman class shown in this Lecture's code example.