Explain generics in c what are reasons for using generics


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.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Explain generics in c what are reasons for using generics
Reference No:- TGS01091572

Expected delivery within 24 Hours