-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
C# 7.1 and .NET Core 2.0 - Modern Cross-Platform Development - Third Edition
By :
Answer: A delegate is a type-safe method reference. It can be used to execute any method with a matching signature.
Answer: An event is a field that is a delegate having the event keyword applied. The keyword ensures that only += and -= are used; this safely combines multiple delegates without replacing any existing event handlers.
Answer: A derived class (or subclass) is a class that inherits from a base class (or superclass).
is and as operators?Answer: The is operator returns true if an object can be cast to the type. The as operator returns a reference if an object can be cast to the type; otherwise, it returns null.
Answer:sealed.
Find more information on the sealed keyword at: https://msdn.microsoft.com/en-us/library...