What’s a delegate ?
A delegate object encapsulates a reference to a method. In C++ they were referred to as function pointers. Read more »
A delegate object encapsulates a reference to a method. In C++ they were referred to as function pointers. Read more »
A catch block that catches the exception of type System.Exception. You can also omit the parameter data type in this case and just write catch {}. Read more »
The first one performs a deep copy of the array, the second one is shallow. Read more »
StringBuilder is more efficient in the cases, where a lot of manipulation is done to the text. Strings are immutable, so each time it’s being operated on, a new... Read more »
System.String is immutable; System.StringBuilder was designed with the purpose of having a mutable string where a variety of operations can be performed. Read more »
In the interface all methods must be abstract; in the abstract class some methods can be concrete. In the interface no accessibility modifiers are allowed, which... Read more »
They all must be public. Therefore, to prevent you from getting the false impression that you have any freedom of choice, you are not allowed to specify any accessibility,... Read more »
It’s an abstract class with public abstract methods all of which must be implemented in the inherited classes. Read more »
A class that cannot be instantiated. A concept in C++ known as pure virtual method. A class that must be inherited and have the methods over-ridden. Essentially,... Read more »
When overriding, you change the method behavior for a derived class. Overloading simply involves having a method with the same name within the class. Read more »
Two. Once you write at least one constructor, C# cancels the freebie constructor, and now you have to write one yourself, even if there’s no implementation in... Read more »
Value, and its datatype depends on whatever variable we’re changing. Read more »
It can contain many classes. Read more »
False, the webservice comes with a test page and it provides HTTP-GET method to test. Read more »