By, Senior Technology Consultant, Updated: 12/13/2018 10:36:19 AM
Here is a sample test of easy questions and answers to get your started.
A jagged array is an array whose elements are arrays. The elements of a jagged array can be of different dimensions and sizes. A jagged array is sometimes called an "array of arrays."
When applied to a class, the sealed modifier prevents other classes from inheriting from it.
This is a trick question. Private virtual methods are illegal in C#.
A delegate is a type that represents references to methods with a particular parameter list and return type. When you instantiate a delegate, you can associate its instance with any method with a compatible signature and return type. You can invoke (or call) the method through the delegate instance. Delegates are used to pass methods as arguments to other methods. Event handlers are nothing more than methods that are invoked through delegates.
One way to create an array with non-default values is to use the Enumerable.Repeat method.
Indexers allow instances of a class or struct to be indexed just like arrays. Indexers resemble properties except that their accessors take parameters.