Computer Science C#
For an object to be Serialilzed/Deseralized it must have an/a IEnumerable interface ICIonable interface [Serializable] attribute ISerializable interface [Clonable] attribute A delegate variable may be declared using the following syntax. delegate void MDel(int iv.double dv): Predicate MDel: delegate (int x){ return x > 2;} Action MDel: All of the Above None of the Above
Expert Answer
Question 29:-
ISerialisable Interface
ISerialisable Interface is used in the class if we wanted to control the serialisation and deserialisation of objects
Question 30:-
delegate void Mdel(int iv,double dv)
Delegate is the type which encapsulates a method. It is similar to function pointers in c, c++. The delegate type variable is declared using the keyword delegate and then void then the name of the variable with the input arguments type.